Skip to content

Conditionnal card in pop-up #966

Nov 27, 2024 · 7 comments · 2 replies
Discussion options

You must be logged in to vote

Oh Boy !
I am so sorry, the fact is that I don't know how conditionnal cars works....

I use :

      - condition: state
        entity: binary_sensor.nora_pax
        state: "on"
      - condition: or
        conditions:
          - condition: state
            entity: binary_sensor.nora_piano_2
            state: "on"

instead of

      - condition: or
        conditions:
          - condition: state
            entity: binary_sensor.nora_piano_2
            state: "on"
          - condition: state
            entity: binary_sensor.nora_pax
            state: "on"

i've been fooled by the HA GUI !
it works perflectly with the proper syntax

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Mystically11
Comment options

@SylvainDx
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SylvainDx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment