Skip to content

Commit

Permalink
Fix for hass version 2023.5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hieulq authored May 6, 2023
1 parent 41e0b97 commit ff28935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nestup_evn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Establish connection with EVN Cloud."""
hass.data.setdefault(DOMAIN, {}).setdefault(entry.entry_id, {}).update(entry.data)
hass.config_entries.async_setup_platforms(entry, ["sensor"])
await hass.config_entries.async_forward_entry_setups(entry, ["sensor"])
return True


Expand Down

0 comments on commit ff28935

Please sign in to comment.