Skip to content

OR works as AND #87

Description

@jpilsa

When using the condition OR it seems that works as an AND.

In may case, sensor.at_climatecontrol_outdoor_temperature is currently at 20ºC so this:

  • entity: sensor.at_climatecontrol_outdoor_temperature
    operator: ">"
    state: "10"
    message: AT Temperatura exterior a {state}
    priority: 1
    theme: temperature
    icon: 🌡️
    show_badge: false
    conditions_logic: or
    conditions:
    • entity: sensor.at_climatecontrol_outdoor_temperature
      operator: <
      state: "5"

should make the card to show up but it doesn't, whereas this:

  • entity: sensor.at_climatecontrol_outdoor_temperature
    operator: ">"
    state: "10"
    message: AT Temperatura exterior a {state}
    priority: 1
    theme: temperature
    icon: 🌡️
    show_badge: false
    conditions_logic: or
    conditions:
    • entity: sensor.at_climatecontrol_outdoor_temperature
      operator: <
      state: "25"
      type: custom:alert-ticker-card
      cycle_animation: split
      show_snooze_bar: false
      ha_theme: true

makes the card to pop up. Is that a bug or am I missing anything?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions