Migrate anthemav to async_forward_entry_setups (#86557)
This commit is contained in:
parent
c599d1e1f8
commit
b91a0d21d2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
|
|
||||||
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = avr
|
hass.data.setdefault(DOMAIN, {})[entry.entry_id] = avr
|
||||||
|
|
||||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def close_avr(event: Event) -> None:
|
def close_avr(event: Event) -> None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue