mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Use Xiaomi Aqara gateway MAC address in DeviceInfo.connections
(#126562)
This commit is contained in:
parent
86d8ddd289
commit
4a424a6603
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user