Skip to content

Commit

Permalink
Smooth library updates
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codechimp committed Dec 3, 2024
1 parent 8082f73 commit fb595de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/battery_notes/library_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, hass: HomeAssistant):

# Fire the library check every 24 hours from now
async_track_utc_time_change(
hass, self.timer_update, hour=datetime.now().hour, minute=datetime.now().minute, second=1
hass, self.timer_update, hour=datetime.now().hour, minute=datetime.now().minute, second=datetime.now().second
)

@callback
Expand Down

0 comments on commit fb595de

Please sign in to comment.