Refactor IKEA Tradfri, part 2 (#27245)
* Add more device info data * Add attributes to device_info * Refactor sensor * Filter devices * Update following review * Update following review * Add device_Class
This commit is contained in:
1 parent
7a156059e9
commit
1059cea28f
2 files changed
+20
-74
No files matched your search
@@ -61,9 +61,9 @@ class TradfriBaseDevice(Entity):
|
||||
|
||||
return {
|
||||
"identifiers": {(TRADFRI_DOMAIN, self._device.id)},
|
||||
"name": self._name,
|
||||
"manufacturer": info.manufacturer,
|
||||
"model": info.model_number,
|
||||
"name": self._name,
|
||||
"sw_version": info.firmware_version,
|
||||
"via_device": (TRADFRI_DOMAIN, self._gateway_id),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user