forked from home-assistant/core
Run coordinator config_entry_first_refresh in rituals_perfume_genie setup (#54080)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user