I have 2 extra conditions set for an alert with "or" statement and one of them is satisfied (as you can see from the screenshot) but the alert is not displaying. This used to work before the latest update. It might be due to the "or" statement not working, because when I set the same condition twice it works.
Code snippet:
- entity: sensor.bedroom_climate_humidity
operator: ">="
state: "60"
message: >-
Bedroom Climate Humidity {{ 'High' if
states('sensor.bedroom_climate_humidity')|float >= 60 else ('Low' if
states('sensor.bedroom_climate_humidity')|float <= 40 else '') }}
priority: 3
theme: leak
icon: 💧
conditions_logic: or
conditions:
- entity: sensor.bedroom_climate_humidity
operator: <=
state: "40"
secondary_entity: sensor.bedroom_climate_humidity
use_ha_icon: false
name: Bedroom Humidity
I have 2 extra conditions set for an alert with "or" statement and one of them is satisfied (as you can see from the screenshot) but the alert is not displaying. This used to work before the latest update. It might be due to the "or" statement not working, because when I set the same condition twice it works.
Code snippet: