Fix adding devices in Husqvarna Automower (#142549)

This commit is contained in:
Thomas55555 2025-04-08 20:40:13 +02:00 committed by Franck Nijhof
parent d1b7898219
commit e9f02edd8b
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -136,6 +136,7 @@ class AutomowerDataUpdateCoordinator(DataUpdateCoordinator[MowerDictionary]):
# Process new device
new_devices = current_devices - self._devices_last_update
if new_devices:
self.data = data
_LOGGER.debug("New devices found: %s", ", ".join(map(str, new_devices)))
self._add_new_devices(new_devices)