Skip to content

Commit

Permalink
fix: correctly set nested names
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Jan 3, 2023
1 parent f74e5e5 commit 8136e36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nexa_bridge_x/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, node: NexaNode, coordinator: CoordinatorEntity) -> None:
super().__init__(coordinator)

self._attr_device_info = DeviceInfo(
name={node.name or node.id},
name=f"{coordinator.data.info.name} {node.name or node.id}",
via_device=(DOMAIN, coordinator.config_entry.entry_id),
identifiers={
(DOMAIN, node.id)
Expand Down

0 comments on commit 8136e36

Please sign in to comment.