Skip to content

Commit

Permalink
Merge pull request #12 from stinobook/main
Browse files Browse the repository at this point in the history
Update __init__.py
  • Loading branch information
nielsfaber authored May 7, 2023
2 parents 76fdbaf + 92218d1 commit c676a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/zoned_heating/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
hass.data[const.DOMAIN][entry.entry_id] = {}

# Set up all platforms for this device/entry.
hass.config_entries.async_setup_platforms(entry, [Platform.SWITCH])
await hass.config_entries.async_forward_entry_setup(entry, "switch")

# Reload entry when its updated.
entry.async_on_unload(entry.add_update_listener(async_reload_entry))
Expand Down

0 comments on commit c676a0a

Please sign in to comment.