What is the point of the “Or” option when adding multiple Visibility conditions? The description says that all conditions have to be fulfilled, but how does selecting “Or” change the behaviour?
e.g. I have something like this, and as soon as I switch one device off, the card disappears
visibility:
- condition: state
entity: media_player.tv_samsung_6_series_43
state: idle
- condition: or
conditions:
- condition: state
entity: switch.ss7_lounge_lamp_right_socket_1
state: "on"
- condition: or
conditions:
- condition: state
entity: switch.ss8_lounge_lamp_left_socket_1
state: "on"
If this is actually a bug, then I can raise it in github, but if it is behaving as designed, I’d like to know how to use it.
(And “idle” is the state the TV is in when it is on.)
That makes sense @tom_l although it is not quite the full solution as I need all three in the OR and no other condition, but it got me to the answer - thanks!
visibility:
- condition: or
conditions:
- condition: state
entity: switch.ss7_lounge_lamp_right_socket_1
state: "on"
- condition: state
entity: switch.ss8_lounge_lamp_left_socket_1
state: "on"
- condition: state
entity: media_player.tv_samsung_6_series_43
state: idle