Conditional entity-filter inside of a vertical-stack

I’ve been working on this for way too long(2 days). I am trying to get any open sensors to show up under the keypad in a vertical stack if they are open. It works when I’m in the UI config but as soon as I exit the config the card wont work. Any ideas?

type: vertical-stack
cards:
  - cards:
      - entity: alarm_control_panel.alarm
        states:
          - arm_home
          - arm_away
        type: alarm-panel
      - card:
          entities:
            - entity: binary_sensor.office_window
            - entity: binary_sensor.front_door
          state_filter:
            - 'on'
          type: entity-filter
        conditions:
          - entity: binary_sensor.office_window
            state: 'on'
          - entity: binary_sensor.front_door
            state: 'on'
        type: conditional
    type: vertical-stack

type: vertical-stack
cards:
  - type: alarm-panel
    entity: alarm_control_panel.alarm
    states:
      - arm_home
      - arm_away
  - type: entity-filter
    show_empty: true # or false if you prefer the card not show when empty.
    entities:
      - entity: binary_sensor.office_window
      - entity: binary_sensor.front_door
    state_filter:
      - 'on'

Thank you, Tom_I. Is it that I’m following outdated instructions? Besides trial and error I cannot seem to get the hang of home assistant.

I used the documentation here:

and here

Pretty much just cut and pasted the example and put your entities in it.

Takes a bit of getting used to. Especially not helped by the way the UI alphabasardises the order of the configuration. Keep at it. You’ll get there.

1 Like

Well, I am not sure what i was misinterpreting on those two pages. Because those two and the conditional one have been open and I have been ripping my hair out for two days. I didn’t want to ask for help because I wanted to make a concerted effort to do it myself. Thanks LOL

1 Like