Update hardware list and mode hardware ID to fw_version

This commit is contained in:
2022-10-16 21:36:14 +02:00
parent fd3c2db642
commit 85190aa9dd
3 changed files with 7 additions and 10 deletions

View File

@@ -48,10 +48,10 @@ class PlejdLight(LightEntity, CoordinatorEntity):
"identifiers": {(DOMAIN, self.device.BLE_address)},
"name": self.device.name,
"manufacturer": "Plejd",
"model": f"{self.device.model} ({self.device.hardwareId})",
"model": {self.device.model},
#"connections": ???,
"suggested_area": self.device.room,
"sw_version": self.device.firmware,
"sw_version": f"{self.device.firmware} ({self.device.hardwareId})",
}
@property