Skip to content

Commit

Permalink
Merge pull request #23 from hieulq/main
Browse files Browse the repository at this point in the history
Fix for hass version 2023.5.x
  • Loading branch information
trvqhuy authored May 6, 2023
2 parents 41e0b97 + ff28935 commit 3111c2d
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 3111c2d

Please sign in to comment.