Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/checkwatt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async def _async_update_data(self) -> CheckwattResp: # noqa: C901
if push_to_cw_rank:
if self.last_cw_rank_push is None or (
dt_util.now().time()
>= time(9, self.random_offset) # Wait until 9am +- 15 min
>= time(11, self.random_offset) # Wait until 11am + 0-14 min
and dt_util.start_of_local_day(dt_util.now())
!= dt_util.start_of_local_day(self.last_cw_rank_push)
):
Expand Down
Loading