From 61d5d99dee317473c2a9340c93d7b81ac7b6f7a1 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:07:20 -0600 Subject: [PATCH] changed time format in logs --- apps/stages/light.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/stages/light.py b/apps/stages/light.py index 7e94cc5..4b0c384 100644 --- a/apps/stages/light.py +++ b/apps/stages/light.py @@ -69,15 +69,15 @@ class StagedLight(Hass): ### Transitions - def schedule_transition_checks(self, **kwargs: Any): + def schedule_transition_checks(self, **_): now = self.get_now() for stage in self._stages: dt = self.parse_datetime(stage.start, aware=True, today=True) if dt > now: - self.log(f'Scehduling transition at: {dt.isoformat()}', level='DEBUG') + self.log(f'Scehduling transition at: {dt.strftime("%I:%M %p")}', level='DEBUG') self.run_at(self._check_transition, start=dt) - def _check_transition(self, **kwargs: Any): + def _check_transition(self, **_): self.log('Firing transition event', level='DEBUG') self.fire_event( 'stage_control',