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 bd02c0f commit 8082f73
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=1, second=1
hass, self.timer_update, hour=datetime.now().hour, minute=datetime.now().minute, second=1
)

@callback
Expand Down

0 comments on commit 8082f73

Please sign in to comment.