Skip to content

Commit

Permalink
Explicitly pass in the config_entry in supervisor coordinator init (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mib1185 authored Feb 5, 2025
1 parent b0a82a9 commit bf0080c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/hassio/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,13 +295,16 @@ def async_remove_addons_from_dev_reg(
class HassioDataUpdateCoordinator(DataUpdateCoordinator):
"""Class to retrieve Hass.io status."""

config_entry: ConfigEntry

def __init__(
self, hass: HomeAssistant, config_entry: ConfigEntry, dev_reg: dr.DeviceRegistry
) -> None:
"""Initialize coordinator."""
super().__init__(
hass,
_LOGGER,
config_entry=config_entry,
name=DOMAIN,
update_interval=HASSIO_UPDATE_INTERVAL,
# We don't want an immediate refresh since we want to avoid
Expand Down

0 comments on commit bf0080c

Please sign in to comment.