From ef812903fb3415cc26dd551e88946a46aec05419 Mon Sep 17 00:00:00 2001 From: basbruss <68892092+basbruss@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:22:18 +0200 Subject: [PATCH] fix: Corrects issue with start_time comparison in coordinator.py --- custom_components/adaptive_cover/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/adaptive_cover/coordinator.py b/custom_components/adaptive_cover/coordinator.py index accf01d..2be0ae8 100644 --- a/custom_components/adaptive_cover/coordinator.py +++ b/custom_components/adaptive_cover/coordinator.py @@ -233,7 +233,7 @@ def after_start_time(self): if now.date() == time.date(): return now >= time if self.start_time is not None: - time = get_time(self.start_time) + time = get_time(self.start_time).time() now = dt.datetime.now().time() return now >= time return True