mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Add model_id to Ecovacs integration (#122457)
This commit is contained in:
parent
07b2a7537b
commit
51ef5cd3ba
@ -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"):
|
||||||
|
@ -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>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user