Skip to content

Commit

Permalink
fix: incompatible with previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
hugobloem committed May 25, 2024
1 parent 2280f12 commit b998e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/stateful_scenes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up this integration using UI."""
hass.data.setdefault(DOMAIN, {})
if entry.data.get("hub", False):
if entry.data.get("hub", True):
hass.data[DOMAIN][entry.entry_id] = Hub(
hass=hass,
scene_path=entry.data[CONF_SCENE_PATH],
Expand Down

0 comments on commit b998e0e

Please sign in to comment.