-
-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airhumidifier_miot.py - mapping attribute error #911
Comments
This got fixed in #909 earlier today, thanks for reporting though :-) |
The issue looks like a follow-up. @tierman this library doesn't access AirHumidifierMiotStatus.fault anywhre. We are calling the property |
@syssi This is my fault. I tried to use Yours library with https://github.com/develop-dvs/domoticz-AirHumidifier2. But there are many problems with new Xiaomi airhumidifier and domoticz library. One of them seemed to be a bug in yours library - but doesn't. I am a Java developer and new to Python. Sorry for my incorrect issue report. |
No problem! Good luck! |
Hi,
now i get error like: AttributeError: 'AirHumidifierMiotStatus' object has no attribute 'fault'.
To resolve it, please change in airhumidifier_miot.py:
line 83 from
def error(self)
-> int: todef fault(self) -> int:
line 231 from
self.error
toself.fault
line 210 from
"<AirHumidifierMiotStatus"
to"<AirHumidifierMiotStatus "
<- only space.Best regards
Tomek.
The text was updated successfully, but these errors were encountered: