fix: move isInUpPosition to momvement complete method, remove conditionlal logic on raise/lower commands

This commit is contained in:
Erik Meyer
2025-12-27 17:09:56 -06:00
parent ae0b2fe086
commit a7ff2e8903
2 changed files with 35 additions and 33 deletions

View File

@@ -20,15 +20,9 @@ namespace PepperDash.Essentials.Devices.Common.Shades
public int PulseTimeInMs { get; set; }
/// <summary>
/// Gets or sets the RaiseTimeInMs - time in milliseconds for the raise movement to complete
/// Gets or sets the MoveTimeInMs - time in milliseconds for the movement to complete
/// </summary>
[JsonProperty("raiseTimeInMs")]
public int RaiseTimeInMs { get; set; }
/// <summary>
/// Gets or sets the LowerTimeInMs - time in milliseconds for the lower movement to complete
/// </summary>
[JsonProperty("lowerTimeInMs")]
public int LowerTimeInMs { get; set; }
[JsonProperty("moveTimeInMs")]
public int MoveTimeInMs { get; set; }
}
}