Add serial number to Roomba (#102529)

This commit is contained in:
Joost Lekkerkerker 2023-10-22 16:52:55 +02:00 committed by GitHub
parent 1412c2ea6e
commit 58e84b7ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),