mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
parent
08c36e0089
commit
61ea6256c6
@ -88,7 +88,7 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry):
|
|||||||
await async_setup_webhook(hass, entry, session)
|
await async_setup_webhook(hass, entry, session)
|
||||||
client = MinutPointClient(hass, entry, session)
|
client = MinutPointClient(hass, entry, session)
|
||||||
hass.data.setdefault(DOMAIN, {}).update({entry.entry_id: client})
|
hass.data.setdefault(DOMAIN, {}).update({entry.entry_id: client})
|
||||||
await client.update()
|
hass.async_create_task(client.update())
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user