mirror of
https://github.com/home-assistant/core.git
synced 2025-09-08 14:21:33 +02:00
Explicitly pass in the config_entry in rainmachine coordinator (#137979)
explicitly pass in the config_entry in coordinator
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user