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

1 Like

This works with chips, but not with lights (mushroom-light-card) - any ideas?

For context:

                - type: custom:auto-entities
                  show_empty: false
                  card:
                    type: custom:mushroom-light-card
                    show_brightness_control: true
                    show_color_control: true
                    show_color_temp_control: true
                    use_light_color: true
                    collapsible_controls: true
                  filter:
                    include:
                      - domain: light
                        area: Living Room
                        options:
                          type: light
                          entity: this.entity_id
                          content_info: name
                  card_param: entity

edit:
I did it like this instead

                - type: custom:auto-entities
                  card:
                    type: grid
                    columns: 1
                    square: false
                  card_param: cards
                  filter:
                    include:
                      - domain: light
                        area: Living Room
                        options:
                          type: custom:mushroom-light-card
                          show_brightness_control: true
                          show_color_control: true
                          show_color_temp_control: true
                          use_light_color: true
                          collapsible_controls: true
                    exclude: []
                  show_empty: true