Skip to content

Commit

Permalink
Update compatibility with Home Assistant 2022.12
Browse files Browse the repository at this point in the history
  • Loading branch information
rud2020 committed May 8, 2023
1 parent f867876 commit d453f9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/myedenred/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
"""Set up the component from a config entry."""
hass.data.setdefault(DOMAIN, {})

# Update compatibility with Home Assistant 2022.12
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
return True

Expand Down

0 comments on commit d453f9c

Please sign in to comment.