#auto-entities - Scene filter per room

1 messages · Page 1 of 1 (latest)

placid hedge
#

I'm currently using the following YAML with auto-entities to create a scene selector

type: custom:auto-entities
show_empty: true
card_param: chips
card:
  type: custom:mushroom-chips-card
  alignment: justify
filter:
  include:
    - options:
        type: entity
        content_info: name
        tap_action:
          action: call-service
          service: scene.turn_on
          target:
            entity_id: this.entity_id
          data:
            transition: 5
      domain: scene
      sort:
        method: last_updated
      area: bedroom
sort:
  method: last_triggered
  count: 10
  reverse: true
  numeric: true
  ip: false
  ignore_case: false
layout_options:
  grid_columns: 4
  grid_rows: 4

The issue I am having is the area: bedroom filter causes the two scenes I've created for the bedroom to disappear. What am I missing to make this work?

nova helm
#

TL;DR: Try using Bedroom instead of bedroom.
In trying to figure out what the issue was, I stripped everything down to the bare minimum. Using an entities card, show me everything in the lights domain (I don't use scenes so I went with lights.) Added area: bedroom and nothing was shown except the empty card. Double-checked to ensure area: was correct (area_id and area_name broke the card) which it was. Out of sheer luck, I tried Bedroom and it showed light entities that were in the bedroom. I started adding your code into mine and everything rendered just fine. Confirmed the tap_action worked (using light.toggle).

placid hedge
nova helm
frail sandal
nova helm