{{ states('input_select.lr_ac_mode.state') }} <- unknown
{{ is_state('input_select.lr_ac_mode.state', 'Off') }} <-- False
{{ not is_state('input_select.lr_ac_mode.state', 'Off') }} <-- True
So now you know what the problem is.
{{ states('input_select.lr_ac_mode.state') }} <- unknown
So now you know what the problem is.
Actually, I do not know what the problem is. I have checked that above statement with other input select, input number, input boolean and it all reads unknown. However, if I change the statement to this, it reads correctly.
{{ states(‘input_select.lr_ac_mode’) }} ← -Off
Since I can’t figure out why it’s not showing false, I changed the code to this.
{{ states("input_select.lr_ac_mode") != "Off" }}
Hi @KingRichard, did you find your answer to this?
I am using an HS110 power plug that supports energy consumption.
I used it in my SmartIR config after setting up a binary sensor in my configuration.yaml that turns on when a certain amount of power is drawn and off when it falls lower.
The only thing I want to figure out is how I can make the gauge in the standard thermostat lovelace card to change color when the binary power sensor is set to ON.
Does anyone have an idea?
Sir, pls guide me how you did it, I am struggling to do with Whirlpool AC, I have setup D1Mini with Mqtt for turning off lights and i want to add AC control
hello, this card is giving me an error (smartir process not found)when adding it in configuration.yaml,so may you help me ???
That post is over a year old and is no longer correct. Home Assistant has changed since then.
Start your own post with your issue including your card configuration and the full error you receive.
ok, thank you for your reply