Skip to content

Commit

Permalink
migrate integration setup to HA version 2023.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleinrotti committed May 25, 2023
1 parent 35237ce commit 06ab1f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/senertec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
await senertec_coordinator.async_setup()
await senertec_coordinator.async_refresh()
hass.data[DOMAIN][SENERTEC_COORDINATOR] = senertec_coordinator
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True

0 comments on commit 06ab1f8

Please sign in to comment.