Using Auto Entities to create a bunch of Mushroom Chips

What it says on the tin - my goal is to use the auto entities to filter out all the scenes for a given room and then display all those scenes as clickable chips. Here’s the code I’ve gotten so far:

  - type: custom:auto-entities
    filter:
      include:
        - domain: scene
          area: Living Room
          options:
            tap_action:
              action: call-service
              service: scene.turn_on
              service_data:
                entity_id: scene.{{friendly_name}}
      exclude: []
    card:
      type: custom: mushroom-chips-card

It works fine as soon as I go to use the default ‘entities’ card but if I go to include a mushroom chips card, the whole thing falls apart. Any idea how I’d make that work?

  1. There is no reason to create a separate topic instead of asking in the already present dedicated auto-entities thread.
  2. This is wrong: " type: custom: mushroom-chips-card". No whitespace should be after “custom:”.
2 Likes

I got this working:

type: custom:auto-entities
card:
  type: custom:mushroom-chips-card
filter:
  include:
    - domain: scene
      area: Living Room
      options:
        type: light
        entity: this.entity_id
        content_info: name
show_empty: true
card_param: chips