Closed attkri closed 3 years ago
Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as its been labeled with an integration (xiaomi_miio
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
Please use English as primary language. Your issue translated:
I noticed when the humidifier is disconnected from the mains that the temperature returns 0 ° but the humidity is reported as unknown. I think the return of unknown is better, because 0 ° delivers incorrect calculations, e.g. if you want to calculate the average. But basically I think 0 ° is misleading because this temperature is not applied.
Humidifiers will moved to the humidier platform. When the device is not seen on the net it will become inactive. The humidity and termperature will be represented as a sensor from then. Sensors will become unavailable if the device cannot be reached.
See PR https://github.com/home-assistant/core/pull/52366. This PR should solve your issue.
The problem
Mir ist aufgefallen, wenn der Luftbefeuchter vom Netz getrennt ist, das die Temperatur 0° zurück gibt aber die Luftfeuchtigkeit wird als Unbekannt gemeldet. Die Rückgabe von Unbekannt finde ich besser, da 0° falsche Berechnungen liefert, z.B. wenn man den Durchschnitt berechnen will. Aber Grundsätzlich denke ich, ist 0° irreführend da dies Temperatur nicht anliegt.
What is version of Home Assistant Core has the issue?
core-2021.5.4
What was the last working version of Home Assistant Core?
core-2021.5.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
xiaomi_miio with zhimi.humidifier.ca4
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