Add model_id to Ecovacs integration (#122457)

This commit is contained in:
Robert Resch 2024-07-23 15:28:16 +02:00 committed by GitHub
parent 07b2a7537b
commit 51ef5cd3ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ class EcovacsEntity(Entity, Generic[CapabilityEntity]):
manufacturer="Ecovacs", manufacturer="Ecovacs",
sw_version=self._device.fw_version, sw_version=self._device.fw_version,
serial_number=device_info["name"], serial_number=device_info["name"],
model_id=device_info["class"],
) )
if nick := device_info.get("nick"): if nick := device_info.get("nick"):

View File

@ -21,7 +21,7 @@
}), }),
'manufacturer': 'Ecovacs', 'manufacturer': 'Ecovacs',
'model': 'DEEBOT OZMO 950 Series', 'model': 'DEEBOT OZMO 950 Series',
'model_id': None, 'model_id': 'yna5xi',
'name': 'Ozmo 950', 'name': 'Ozmo 950',
'name_by_user': None, 'name_by_user': None,
'primary_config_entry': <ANY>, 'primary_config_entry': <ANY>,