mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Explicitly pass in the config_entry in airq coordinator init (#137704)
explicitly pass in the config_entry in airq coordinator init
This commit is contained in:
parent
327811c89a
commit
32ef37cd58
@ -22,6 +22,8 @@ _LOGGER = logging.getLogger(__name__)
|
||||
class AirQCoordinator(DataUpdateCoordinator):
|
||||
"""Coordinator is responsible for querying the device at a specified route."""
|
||||
|
||||
config_entry: ConfigEntry
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
hass: HomeAssistant,
|
||||
@ -33,6 +35,7 @@ class AirQCoordinator(DataUpdateCoordinator):
|
||||
super().__init__(
|
||||
hass,
|
||||
_LOGGER,
|
||||
config_entry=entry,
|
||||
name=DOMAIN,
|
||||
update_interval=timedelta(seconds=UPDATE_INTERVAL),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user