Open mwitkow opened 9 hours ago
Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)
As you see the entity is missing the target_humidity
BTW, the device correctly returns the value using miiocli
(python_miio-0.5.12, same one as pinned in home assistant, but python-3.12 ) :
$ miiocli airhumidifier --ip IP --token TOKEN status
WARNING:miio.integrations.humidifier.zhimi.airhumidifier:The 'depth' property is deprecated and will be removed in the future. Use 'water_level' and 'water_tank_detached' properties instead.
Power: off
Mode: OperationMode.Silent
Temperature: 22.0 °C
Humidity: 64 %
LED brightness: LedBrightness.Off
Buzzer: False
Child lock: False
Target humidity: 60 %
Trans level: None
Speed: 0
Depth: 59
Water Level: 49 %
Water tank detached: False
Dry: False
Use time: 11003474
Hardware version: 0001
Button pressed: None
Ok.. I think I understand what's going on. No idea where the change happened but:
when Mode = Silent, the humidity_target disappears. when Mode = Auto, the humidity_target appears and is settable.
I'm pretty sure that's a change from before as I was previously able to set the humidity and keep it at silent.
The problem
I've had two
zhimi.humidifier.ca1
working no problem for a while. After upgrading to2024.9.1
(from2024.6.4
) and even now in2024.10.1
there is atarget_humidity
attribute missing. It prevents the humidifier from actually operating well as you can't set it's target humidity and it humidifies into oblivion.Logs that may seem to indicate the problem in
/usr/local/lib/python3.12/site-packages/miio/miioprotocol.py"
added the bug report. Not sure if they are related though.What version of Home Assistant Core has the issue?
2024.9.01
What was the last working version of Home Assistant Core?
2024.6.4
What type of installation are you running?
Home Assistant Container
Integration causing the issue
xiaomi_miio
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xiaomi_miio
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
I get a bunch of
Additional information
No response