Migrate anthemav to async_forward_entry_setups (#86557)

This commit is contained in:
J. Nick Koston 2023-01-24 09:33:45 -10:00 committed by GitHub
parent c599d1e1f8
commit b91a0d21d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: