mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +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:
|
if self._is_gateway:
|
||||||
device_info = DeviceInfo(
|
device_info = DeviceInfo(
|
||||||
identifiers={(DOMAIN, self._device_id)},
|
identifiers={(DOMAIN, self._device_id)},
|
||||||
|
connections={(dr.CONNECTION_NETWORK_MAC, self._device_id)},
|
||||||
model=self._model,
|
model=self._model,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user