Skip to content

Commit

Permalink
Fix blueprint not added
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss committed Mar 20, 2024
1 parent ec82d61 commit 3ee7e46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/adaptive_cover/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ async def async_initialize_integration(
) -> bool:
"""Initialize the integration."""

configure_blueprint(hass=hass, config_entry=config_entry)
return True


Expand Down Expand Up @@ -59,6 +58,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
await coordinator.async_config_entry_first_refresh()
hass.data[DOMAIN][entry.entry_id] = coordinator

configure_blueprint(hass=hass, config_entry=entry)

await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS_SW)

entry.async_on_unload(entry.add_update_listener(_async_update_listener))
Expand Down

0 comments on commit 3ee7e46

Please sign in to comment.