diff --git a/custom_components/sector/coordinator.py b/custom_components/sector/coordinator.py index f79ee1f..244c435 100644 --- a/custom_components/sector/coordinator.py +++ b/custom_components/sector/coordinator.py @@ -30,7 +30,7 @@ def __init__(self, hass: HomeAssistant, entry: SectorAlarmConfigEntry) -> None: """Initialize the coordinator.""" self.hass = hass self.api = SectorAlarmAPI( - hass=self.hass, + hass=hass, email=entry.data[CONF_EMAIL], password=entry.data[CONF_PASSWORD], panel_id=entry.data[CONF_PANEL_ID],