mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Run coordinator config_entry_first_refresh in rituals_perfume_genie setup (#54080)
This commit is contained in:
parent
582f2ae2f6
commit
02d6918165
@ -39,7 +39,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
hublot = device.hublot
|
||||
|
||||
coordinator = RitualsDataUpdateCoordinator(hass, device)
|
||||
await coordinator.async_refresh()
|
||||
await coordinator.async_config_entry_first_refresh()
|
||||
|
||||
hass.data[DOMAIN][entry.entry_id][DEVICES][hublot] = device
|
||||
hass.data[DOMAIN][entry.entry_id][COORDINATORS][hublot] = coordinator
|
||||
|
Loading…
x
Reference in New Issue
Block a user