Skip to content

Commit

Permalink
migrate INGV to use async_forward_entry_setups
Browse files Browse the repository at this point in the history
Fixed #22
  • Loading branch information
caiosweet committed Feb 16, 2023
1 parent 96e837e commit 3f9385c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
_LOGGER.debug("Feed entity coordinator added for %s", entry.entry_id)

async_cleanup_entity_registry(hass=hass, entry=entry)
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
entry.async_on_unload(entry.add_update_listener(async_reload_entry))
return True

Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"filename": "ingv_centro_nazionale_terremoti.zip",
"country": ["IT"],
"render_readme": true,
"homeassistant": "2022.11.0"
"homeassistant": "2023.02.0"
}

0 comments on commit 3f9385c

Please sign in to comment.