From badfbf207f04c44ead1a1d70108517144c082aea Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Fri, 23 Aug 2024 07:58:46 +0200 Subject: [PATCH] ha - fix dusk time schedule --- ph4ha/apps/blinds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ph4ha/apps/blinds.py b/ph4ha/apps/blinds.py index 09482ad..b680490 100644 --- a/ph4ha/apps/blinds.py +++ b/ph4ha/apps/blinds.py @@ -90,7 +90,7 @@ def initialize(self): self.listen_event(self.scene_activated, "call_service", domain="scene", service="turn_on") # Daily update new dusk time - self.run_daily(self.update_dusk_time(), time(hour=0, minute=0)) + self.run_daily(self.update_dusk_time, time(hour=0, minute=0)) # TODO: separate bedroom - add another timer, bedroom mode. # TODO: dusk timer, sensor.sun_next_dusk