mirror of
https://github.com/home-assistant/core.git
synced 2025-09-06 13:21:33 +02:00
Add hw_version to Point device (#150704)
This commit is contained in:
committed by
GitHub
parent
ef7ed026db
commit
61de50dfc0
@@ -28,8 +28,9 @@ class MinutPointEntity(CoordinatorEntity[PointDataUpdateCoordinator]):
|
|||||||
connections={(dr.CONNECTION_NETWORK_MAC, device["device_mac"])},
|
connections={(dr.CONNECTION_NETWORK_MAC, device["device_mac"])},
|
||||||
identifiers={(DOMAIN, device["device_id"])},
|
identifiers={(DOMAIN, device["device_id"])},
|
||||||
manufacturer="Minut",
|
manufacturer="Minut",
|
||||||
model=f"Point v{device['hardware_version']}",
|
model="Point",
|
||||||
name=device["description"],
|
name=device["description"],
|
||||||
|
hw_version=device["hardware_version"],
|
||||||
sw_version=device["firmware"]["installed"],
|
sw_version=device["firmware"]["installed"],
|
||||||
via_device=(DOMAIN, device["home"]),
|
via_device=(DOMAIN, device["home"]),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user