Fix python-miio 0.4 compatibility of the xiaomi miio device tracker (#15244)

This commit is contained in:
shker authored and Sebastian Muszynski committed 2018-07-02 22:33:40 +02:00
1 parent 0feb4c5439
commit e6390b8e41
1 file changed
+1 -1
@@ -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: