Skip to content

Commit

Permalink
Merge pull request #76 from basbruss/blueprint
Browse files Browse the repository at this point in the history
Fix blueprint not added
  • Loading branch information
basbruss authored Mar 21, 2024
2 parents f0ff6c7 + 3ee7e46 commit ad55342
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 ad55342

Please sign in to comment.