+1 per 2022’s “Year of Streamling” theme (Streamlining Experiences - Home Assistant), needing to create a new template binary sensors to handle OR conditions, is not very streamlined.
A not so dramatic +1 here also
+1 – Def would be an improvement for me as well!
+1 definitely need this
+1
use case: garbage collection sensor (days) is 0 or 1 (or <=1)
current workaround: entity-filter card with operator: <= / caveat: have not found a way to combine multiple conditions
+1
Been messing around with Mushroom and I love to display a title card based on different entities but just not if any of these entities aren’t true.
So the title card is shown when i have birthday reminder OR the trash is due tomorrow OR if both conditions are true.
+1 (in case there are current OR advanced weather warnings)
+1 (in my case weather, birthdays, pollen count, garbage disposal etc.)
+1 (I would like to have it to show a grid card only if one of the alert switches in it are not idle)
Continuing the discussion from OR + AND conditions for Conditional Card:
+10 It will be really good for Ukraine air raid alarm map:
conditions:
condition: or
conditions:
- entity: binary_sensor.monastiriska_teritorialna_gromada_air
state: 'on'
- entity: binary_sensor.pristolichna_teritorialna_gromada_air
state: 'on'
- entity: binary_sensor.pristolichna_teritorialna_gromada_air
state: 'off'
card:
type: iframe
url: https://vadimklimenko.com/map/
aspect_ratio: 65%
+1 please!
+1 (to allow media card to display if a media player is playing OR paused)
Exactly the same usecase here! +1
Easily doable currently with the state_not
variable. I use this for all my media players.
conditions:
- entity: media_player.speaker
state_not: 'off'
- entity: media_player.speaker
state_not: unavailable
This shows the card on all states except off
and unavailable
. So when it’s playing, paused, idle (and anything else its state can be) it will show. Just list the ones it shouldn’t show on and you’re set.
You sir, are a true gentleman and I doth my hat to you. But I still +1 this thread
+1 i’d like to show the card when any of my doors are not locked, either on open or ‘closed’ (i.e. shut but not locked).
Hello All,
I agree that this should be a feature.
That being said there is a workaround:
1. Create a Conditional Card
2. Set the first condition
3. For the card to create choose another Conditional Card
4. Set the next OR condition
5. Continue selecting the Conditional Card for each OR condition
6. Once you set all your OR conditions choose your actual card
The big caveat is that ALL the conditions must be OR conditions.
*** Edit: yeah… that was all wrong. Turns out they are just layered AND conditions. DOH!
? Isn’t this then AND and not OR?
You are right!!!
I want to use this with my garbage collection cards. I have a header title that I only want to show up if recycling OR trash are not state 2. Currently they BOTH have to be not state 2 in order to show up which is useless if its trash only and not recycling that week.
I want it so that if either entity is not 2 the card shows up. Or another way to do it would be to hide the card if both trash and recycling states are 2.
type: conditional
conditions:
- entity: sensor.trash_collection
state_not: '2'
- entity: sensor.recycling_collection
state_not: '2'
card:
color: var(--primary-color)
color_type: label-card
name: Trash/Recycling
type: custom:button-card