mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Explicitly pass in the config_entry in rainmachine coordinator (#137979)
explicitly pass in the config_entry in coordinator
This commit is contained in:
parent
dacb29e7fc
commit
d522af729a
@ -41,6 +41,7 @@ class RainMachineDataUpdateCoordinator(DataUpdateCoordinator[dict]):
|
||||
super().__init__(
|
||||
hass,
|
||||
LOGGER,
|
||||
config_entry=entry,
|
||||
name=name,
|
||||
update_interval=update_interval,
|
||||
update_method=update_method,
|
||||
@ -49,7 +50,6 @@ class RainMachineDataUpdateCoordinator(DataUpdateCoordinator[dict]):
|
||||
|
||||
self._rebooting = False
|
||||
self._signal_handler_unsubs: list[Callable[[], None]] = []
|
||||
self.config_entry = entry
|
||||
self.signal_reboot_completed = SIGNAL_REBOOT_COMPLETED.format(
|
||||
self.config_entry.entry_id
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user