You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from miio import airhumidifier
h = airhumidifier.AirHumidifierCA1("192.168.1.14", "********************************")
h.info
<bound method Device.info of <miio.airhumidifier.AirHumidifierCA1 object at 0x7f6eed382668>>
h.info()
zhimi.humidifier.ca1 v1.6.6 (04:CF:8C:87:11:5F) @ 192.168.1.14 - token: ********************************
h.status()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.5/dist-packages/miio/airhumidifier.py", line 232, in repr
self.strong_mode_enabled,
File "/usr/local/lib/python3.5/dist-packages/miio/airhumidifier.py", line 132, in strong_mode_enabled
if self.firmware_version_minor == 25:
File "/usr/local/lib/python3.5/dist-packages/miio/airhumidifier.py", line 153, in firmware_version_minor , minor = self.firmware_version.rsplit('', 1)
ValueError: not enough values to unpack (expected 2, got 1)
=====
while miiocli works good.
The text was updated successfully, but these errors were encountered:
This is a bug. We are expecting a firmware version like this (format): 1.2.9_5033.
Your firmware version is 1.6.6 and there is no underscore to remove.
Hello, i have a problem here with Air humidifier:
=====
while miiocli works good.
The text was updated successfully, but these errors were encountered: