mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Fix flux_led sync time (#63554)
This commit is contained in:
parent
d8e1e1396c
commit
120c199ddf
@ -131,7 +131,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
await device.async_set_time()
|
||||
|
||||
await _async_sync_time() # set at startup
|
||||
entry.async_on_unload(async_track_time_change(hass, _async_sync_time, 2, 4, 30)) # type: ignore[arg-type]
|
||||
entry.async_on_unload(async_track_time_change(hass, _async_sync_time, 2, 40, 30)) # type: ignore[arg-type]
|
||||
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user