fix: fixes for room combination in manual/auto mode with actual crestron partition sensors

This commit is contained in:
Neil Dorin
2024-06-28 13:20:19 -06:00
parent 71815eff17
commit a3351812cd
2 changed files with 6 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -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()