This commit is contained in:
2026-06-28 13:58:35 +03:00
parent 8f45028715
commit e6bf8258bb
114 changed files with 4365 additions and 874 deletions
@@ -31,6 +31,7 @@ public sealed class LightControlService : ILightControlService
if (!string.Equals(sunState, LightMonitorConsts.SunBelowHorizon, StringComparison.OrdinalIgnoreCase))
{
_logger.LogDebug("Sun is not below horizon (state={SunState}), skipping light turn on", sunState);
return;
}
@@ -39,6 +40,7 @@ public sealed class LightControlService : ILightControlService
if (string.Equals(lightState, LightMonitorConsts.LightOnState, StringComparison.OrdinalIgnoreCase))
{
_logger.LogDebug("Light {EntityId} is already on, skipping", _options.LightEntityId);
return;
}