Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/hilo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ async def _fetch_legacy_gateway_dsn(self, new_mac: str) -> str | None:
returns its old DSN-based identifier if it exists. If it doesn't,
it returns Noneto use the MAC address instead."""
device_registry = dr.async_get(self._hass)
for device in device_registry.devices.values():
for device in device_registry.devices:
if device.manufacturer != "Hilo" or device.model != "EQ000017":
continue
for domain, identifier in device.identifiers:
Expand Down