2020-03-01 22:57:36 ERROR (MainThread) [custom_components.xiaomi_airpurifierProH.fan] Fail to get_properties from Xiaomi airpurifier pro H
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 272, in send
data, addr = s.recvfrom(1024)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/xiaomi_airpurifierProH/fan.py", line 350, in parse_data
val = self._device.send("get_properties", [_MAPPING[prop]])
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 310, in send
return self.send(command, parameters, retry_count - 1)
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 235, in send
self.do_discover()
File "/usr/local/lib/python3.7/site-packages/miio/device.py", line 171, in do_discover
raise DeviceException("Unable to discover the device %s" % self.ip)
miio.exceptions.DeviceException: Unable to discover the device