Skip to content

Commit

Permalink
fix: 779 Add correct async wait to Home Assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
robbrad committed Aug 8, 2024
1 parent 381dceb commit afbcbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/uk_bin_collection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def _async_finish_startup(_):
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

async_at_started(hass, _async_finish_startup)
hass.async_create_task(_async_finish_startup(None))

_LOGGER.info(
LOG_PREFIX + "Successfully set up UK Bin Collection Data for council: %s",
Expand Down

0 comments on commit afbcbd6

Please sign in to comment.