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
Describe the bug
I have the dmaker.fan.p39 (Xiaomi Smart Tower Fan) and use HA. The following error floods my log file constantly:
ValueError: None is not a valid OperationModeMiot
I also get this warning a lot:
2023-11-24 12:11:14.310 WARNING (SyncWorker_4) [miio.device] Found an unsupported model 'dmaker.fan.p39' for class 'FanMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/2023-11-24 12:11:14.311 WARNING (SyncWorker_4) [miio.miot_device] Unable to find mapping for dmaker.fan.p39, falling back to dmaker.fan.p9
And I also noticed that error when I used fanmiot instead of device in
$ miiocli fanmiot --ip <ip address> --token <token> infoWARNING:miio.device:Found an unsupported model 'dmaker.fan.p39' for class 'FanMiot'. If this is working for you, please open an issue at https://github.com/rytilahti/python-miio/Model: dmaker.fan.p39Hardware version: RTL8720CFirmware version: 2.0.5
Not sure if #1768 is related. My device seems to work as expected IIRC (in accordance with #1581), but this error is rather annoying as it floods my logs. 8 months ago when I fiddled with this in a hurry there was some issue with a feature, but I don't remember which and I don't remember if it ever got solved.
But this is still very annoying as it bogs down my system.
Version information (please complete the following information):
Describe the bug
I have the dmaker.fan.p39 (Xiaomi Smart Tower Fan) and use HA. The following error floods my log file constantly:
ValueError: None is not a valid OperationModeMiot
I also get this warning a lot:
And I also noticed that error when I used
fanmiot
instead ofdevice
inNot sure if #1768 is related. My device seems to work as expected IIRC (in accordance with #1581), but this error is rather annoying as it floods my logs. 8 months ago when I fiddled with this in a hurry there was some issue with a feature, but I don't remember which and I don't remember if it ever got solved.
But this is still very annoying as it bogs down my system.
Version information (please complete the following information):
Device information:
If the issue is specific to a device [Use
miiocli device --ip <ip address> --token <token> info
]:Console output
Here is a log file for the HA integration in debug mode:
miiocli in debug mode (fanmiot):
miiocli in debug mode (device):
The text was updated successfully, but these errors were encountered: