xiaomi_airpurifier
xiaomi_airpurifier copied to clipboard
Switch attribute "no_water" to true if no more water in the tank (Deerma.humidifier.jsq5)
Problem:
The humidifier switches off when there is no more water in the tank, but the state of the attribute no_water
remains false
!
The attribute no_water
changes to true
the next time the humidifier is turned on, I have observed that the humidifier tries to turn on a few times and then realizes that there is no more water in the tank.
Request:
The humidifier switches the attribute no_water
to true
when there is no more water in the tank and not when it is switched on again.
Configuration:
fan:
- platform: xiaomi_miio_airpurifier
name: Luftbefeuchter
host: !secret host_humidifier
token: !secret deerma.humidifier
model: deerma.humidifier.jsq5
Statusattribute:
preset_modes:
- Low
- Mid
- High
- Auto
preset_mode: null
model: deerma.humidifier.jsq5
temperature: 23
humidity: 43
mode: 3
buzzer: false
target_humidity: 60
led: false
no_water: false
water_tank_detached: false
friendly_name: Luftbefeuchter
supported_features: 8
System:
Home Assistant 2023.3.0
Supervisor 2023.01.1
Operating System 9.5
Frontend 20230301.0 - latest