Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ejpenney authored Apr 17, 2024
1 parent 268038e commit ff63e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/eufy_security/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry):
await coordinator.initialize()
for platform in PLATFORMS:
coordinator.platforms.append(platform.value)
hass.async_add_job(hass.config_entries.async_forward_entry_setup(config_entry, platform.value))
config_entry.async_create_task(hass, hass.config_entries.async_forward_entry_setup(config_entry, platform.value))

async def update(event_time_utc):
local_coordinator = hass.data[DOMAIN][COORDINATOR]
Expand Down

0 comments on commit ff63e60

Please sign in to comment.