#Auto-Entities, Mushroom Chips and Scenes (take 2)

1 messages · Page 1 of 1 (latest)

fresh hemlock
#

Alright, I've come back to this after @obtuse pine helped me get the initial setup - which has been working great. Thanks to his help understanding how it works, I now have a lot of great auto-entities cards made on my dashboard and yet it's the original one that is messing with me the worst. Here's what I've got:

type: custom:auto-entities
show_empty: true
card_param: chips
card:
  type: custom:mushroom-chips-card
  alignment: justify
filter:
  include:
    - domain: scene
      area: Living Room
      options:
        type: entity
        content_info: name
        tap_action:
          action: toggle
  exclude: []
sort:
  method: friendly_name

This is nice, except that it causes the scene to toggle on instantly. This is kind of abrupt when I'm wanting to set the scene when we have guests.

Here's the data from the chips card if I want to have it call the action to turn on a scene:

type: custom:mushroom-chips-card
chips:
  - type: entity
    entity: scene.SCENENAME
    icon_color: accent
    tap_action:
      action: perform-action
      perform_action: scene.turn_on
      target:
        entity_id: scene.SCENENAME
      data:
        transition: 5

I've tried just copying and pasting the tap-action into the options field in Auto Entities but it does not want to pick a specific entity to target. I'm not even messing with the transition value until I can get the auto entities - chips interaction to work with the scene.turn_on action. The syntax I used to try to accomplish that is

tap_action:
  action: perform-action
  perform_action: scene.turn_on
  target:
    entity_id: []

What am I missing? Can the Auto-Entities - chips interaction even do the fade action I am hoping for?