mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-10 10:15:01 +00:00
fix: fixes for room combination in manual/auto mode with actual crestron partition sensors
This commit is contained in:
@@ -87,6 +87,8 @@ namespace PepperDash.Essentials.Core
|
||||
|
||||
public void SetAutoMode()
|
||||
{
|
||||
Debug.LogMessage(Serilog.Events.LogEventLevel.Verbose, $"Setting {Key} to Auto Mode", this);
|
||||
|
||||
IsInAutoMode = true;
|
||||
if (PartitionPresentFeedback != null)
|
||||
{
|
||||
@@ -106,6 +108,8 @@ namespace PepperDash.Essentials.Core
|
||||
|
||||
public void SetManualMode()
|
||||
{
|
||||
Debug.LogMessage(Serilog.Events.LogEventLevel.Verbose, $"Setting {Key} to Manual Mode", this);
|
||||
|
||||
IsInAutoMode = false;
|
||||
if (PartitionPresentFeedback != null)
|
||||
{
|
||||
|
||||
@@ -132,8 +132,6 @@ namespace PepperDash.Essentials.Core
|
||||
|
||||
void PartitionPresentFeedback_OutputChange(object sender, FeedbackEventArgs e)
|
||||
{
|
||||
if (!IsInAutoMode) return;
|
||||
|
||||
StartDebounceTimer();
|
||||
}
|
||||
|
||||
@@ -239,6 +237,8 @@ namespace PepperDash.Essentials.Core
|
||||
{
|
||||
partition.SetAutoMode();
|
||||
}
|
||||
|
||||
DetermineRoomCombinationScenario();
|
||||
}
|
||||
|
||||
public void SetManualMode()
|
||||
|
||||
Reference in New Issue
Block a user