Skip to content

(After latest update) Alert not displaying when extra conditions are satisfied #178

Description

@dimitarraychev

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.

Image Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions