home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.11k stars 29.79k forks source link

Xiaomi Miio Air Humidifier CA1 missing 'target_humidity' sensor since HA upgrade to 2021.8.2 #54331

Closed Ton1965 closed 3 years ago

Ton1965 commented 3 years ago

The problem

Target humidity sensor disappeared from Air Humidifier CA1.

This used to be an attribute that reported the target humidity set either from HA side or by hardware buttons on humidifier itself allowing to keep these things in sync.

For some reason this attribute has not been replaced with a sensor.

What is version of Home Assistant Core has the issue?

2021.8

What was the last working version of Home Assistant Core?

2021.7

What type of installation are you running?

Home Assistant Core

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 3 years 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)

bieniu commented 3 years ago

The target humidity value is available as humidity attribute of humidifier entity.

image

Ton1965 commented 3 years ago

Sorry, there used to be two separate attributes: humidity and target_humidity. The first reported current humidity in the room and second reported the target humidity.

bieniu commented 3 years ago

Sorry, there used to be two separate attributes: humidity and target_humidity.

No problem, currently, a current humidity is a sensor, target humidity is a humidity attribute.

Ton1965 commented 3 years ago

Thanks for the answer but I still do not fully understand. I cannot see humidity attribute for CA1 either in documentation or in HA. Here is what it looks like in my case: image

bieniu commented 3 years ago

target humidity is used only if mode Auto is active.

Side note: @jbouwh I think we have to add this information to the documentation.

Ton1965 commented 3 years ago

Hmmm... I remember being able to control target humidity separately from mode. Probably this should be mentioned in the documentation since currently there is no information there about it. Besides it is a bit confusing to have 'humidity' sensor for current humidity and 'humidity' attribute for target humidity.

Thanks a lot, I believe I do understand it now!

bieniu commented 3 years ago

I remember being able to control target humidity separately from mode.

The device uses target temperature only when Auto (Humidity for MJJSQ humidifiers) mode is active. This is why the entity doesn't report this value when another mode is active.

Besides it is a bit confusing to have 'humidity' sensor for current humidity and 'humidity' attribute for target humidity.

This is due to the design of the humidifier platform. Same as target temperature is a temperature attribute of the climate entity.