Skip to content

Commit

Permalink
Fix missing name and identifiers for ELKM1 connected devices (#99828)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored and bramkragten committed Sep 8, 2023
1 parent 0b4fedc commit 7dc7060
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/elkm1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,8 @@ async def async_added_to_hass(self) -> None:
def device_info(self) -> DeviceInfo:
"""Device info connecting via the ElkM1 system."""
return DeviceInfo(
name=self._element.name,
identifiers={(DOMAIN, self._unique_id)},
via_device=(DOMAIN, f"{self._prefix}_system"),
)

Expand Down

0 comments on commit 7dc7060

Please sign in to comment.