mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
Fix adding devices in Husqvarna Automower (#142549)
This commit is contained in:
parent
3aae280de5
commit
f6b55c7eb9
@ -136,6 +136,7 @@ class AutomowerDataUpdateCoordinator(DataUpdateCoordinator[MowerDictionary]):
|
|||||||
# Process new device
|
# Process new device
|
||||||
new_devices = current_devices - self._devices_last_update
|
new_devices = current_devices - self._devices_last_update
|
||||||
if new_devices:
|
if new_devices:
|
||||||
|
self.data = data
|
||||||
_LOGGER.debug("New devices found: %s", ", ".join(map(str, new_devices)))
|
_LOGGER.debug("New devices found: %s", ", ".join(map(str, new_devices)))
|
||||||
self._add_new_devices(new_devices)
|
self._add_new_devices(new_devices)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user