Is it possible for a conditional card to display when some conditions have been met instead of all?

type: conditional
conditions:
  - entity: calendar.bsu5pco_ucem
    state_not: 'off'
  - entity: calendar.calendar_ucem
    state: 'off'
  - entity: calendar.birthdays
    state: 'off'
  - entity: calendar.bsu6bpa_ucem
    state: 'off'
  - entity: calendar.family
    state: 'off'
  - entity: calendar.holidays_in_united_kingdom
    state: 'off'
  - entity: calendar.maldon_district_council
    state: 'off'
card:
  initial_view: dayGridDay
  type: calendar
  entities:
    - calendar.maldon_district_council
    - calendar.birthdays
    - calendar.bsu5pco_ucem
    - calendar.family
    - calendar.calendar_ucem
    - calendar.bsu6bpa_ucem
    - calendar.holidays_in_united_kingdom
card_mod:
  style: |
    ha-card {
      color: red;
    }

I want today’s events to be displayed only if there are events on. The above will only show if all conditions are met, but I just want it to be if any of these entities meet the condition, and then display the card. Is this possible? I feel like I’m being really thick and missing something obvious.

Hi @Jakesa

You could create a template binary sensor that performs the ‘or’ logic you require. You could then use this new sensor as the condition for your conditional card.

Let me know if you need help creating the template sensor.

2 Likes

Thank you, appreciate it. I will have a look at the documentation and do some research to see if I can get my head around it. If I struggle I may come back for some assistance if the offer still remains.