Fix python-miio 0.4 compatibility of the xiaomi miio device tracker (#15244)
This commit is contained in:
parent
0feb4c5439
commit
e6390b8e41
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class XiaomiMiioDeviceScanner(DeviceScanner):
|
|||
station_info = await self.hass.async_add_job(self.device.status)
|
||||
_LOGGER.debug("Got new station info: %s", station_info)
|
||||
|
||||
for device in station_info['mat']:
|
||||
for device in station_info.associated_stations:
|
||||
devices.append(device['mac'])
|
||||
|
||||
except DeviceException as ex:
|
||||
|
|
Loading…
Add table
Reference in a new issue