mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add serial number to Roomba (#102529)
This commit is contained in:
parent
1412c2ea6e
commit
58e84b7ba1
@ -94,6 +94,7 @@ class IRobotEntity(Entity):
|
||||
return DeviceInfo(
|
||||
connections=connections,
|
||||
identifiers={(DOMAIN, self.robot_unique_id)},
|
||||
serial_number=self.vacuum_state.get("hwPartsRev", {}).get("navSerialNo"),
|
||||
manufacturer="iRobot",
|
||||
model=self._sku,
|
||||
name=str(self._name),
|
||||
|
Loading…
x
Reference in New Issue
Block a user