Skip to content

Commit

Permalink
Correct AsusWRT device identifier (home-assistant#97238)
Browse files Browse the repository at this point in the history
  • Loading branch information
ollo69 authored Jul 25, 2023
1 parent 66bbe68 commit c3977b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/asuswrt/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def update_options(self, new_options: dict[str, Any]) -> bool:
def device_info(self) -> DeviceInfo:
"""Return the device information."""
info = DeviceInfo(
identifiers={(DOMAIN, self.unique_id or "AsusWRT")},
identifiers={(DOMAIN, self._entry.unique_id or "AsusWRT")},
name=self.host,
model=self._api.model or "Asus Router",
manufacturer="Asus",
Expand Down

0 comments on commit c3977b5

Please sign in to comment.