Skip to content

Commit 7eeaf6b

Browse files
Change library updates to local time
1 parent fb595de commit 7eeaf6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/battery_notes/library_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, hass: HomeAssistant):
5656

5757
# Fire the library check every 24 hours from now
5858
async_track_utc_time_change(
59-
hass, self.timer_update, hour=datetime.now().hour, minute=datetime.now().minute, second=datetime.now().second
59+
hass, self.timer_update, hour=datetime.now().hour, minute=datetime.now().minute, second=datetime.now().second, local=True
6060
)
6161

6262
@callback

0 commit comments

Comments
 (0)