mirror of
https://github.com/home-assistant/core.git
synced 2026-04-20 00:19:02 +02:00
Use Xiaomi Aqara gateway MAC address in DeviceInfo.connections (#126562)
This commit is contained in:
@@ -83,6 +83,7 @@ class XiaomiDevice(Entity):
|
||||
if self._is_gateway:
|
||||
device_info = DeviceInfo(
|
||||
identifiers={(DOMAIN, self._device_id)},
|
||||
connections={(dr.CONNECTION_NETWORK_MAC, self._device_id)},
|
||||
model=self._model,
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user