Skip to content

Commit

Permalink
Merge pull request #89 from basbruss/update-start-time-logic
Browse files Browse the repository at this point in the history
fix: Corrects issue with start_time comparison in coordinator.py
  • Loading branch information
basbruss authored Apr 4, 2024
2 parents 4092301 + ef81290 commit 292f1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/adaptive_cover/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 292f1aa

Please sign in to comment.