mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Fix missing name and identifiers for ELKM1 connected devices (#99828)
This commit is contained in:
parent
8742c550be
commit
98ff3e233d
@ -518,6 +518,8 @@ class ElkEntity(Entity):
|
|||||||
def device_info(self) -> DeviceInfo:
|
def device_info(self) -> DeviceInfo:
|
||||||
"""Device info connecting via the ElkM1 system."""
|
"""Device info connecting via the ElkM1 system."""
|
||||||
return DeviceInfo(
|
return DeviceInfo(
|
||||||
|
name=self._element.name,
|
||||||
|
identifiers={(DOMAIN, self._unique_id)},
|
||||||
via_device=(DOMAIN, f"{self._prefix}_system"),
|
via_device=(DOMAIN, f"{self._prefix}_system"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user