thomasloven / lovelace-auto-entities

🔹Automatically populate the entities-list of lovelace cards
MIT License
1.2k stars 111 forks source link

Filter - Include Area - Lights Missing #312

Open a-bianucci opened 1 year ago

a-bianucci commented 1 year ago

Tryign to leverage Auto Entities to show lights by area. However, it doesn't always pick up all the lights, in this case I have 8 lights outside, but it's only showing 3.

The only commonality I can see most of the time is if it's a light group it's random when it gets picked up

type: custom:auto-entities
card:
  type: custom:layout-card
  layout_type: custom:grid-layout
  layout:
    grid-template-columns: 50% 50%
    grid-template-rows: auto
filter:
  include:
    - domain: light
      area: Outside
      options:
        type: custom:button-card
        color: auto
        color_type: card
        tap_action:
          action: more-info
        aspect_ratio: 5/1
        size: 30px
        show_label: true
        show_state: false
        styles:
          grid:
            - grid-template-areas: '"i n" "i n"'
            - grid-template-columns: 1fr 4fr
            - grid-template-rows: 85% 15%
          card:
            - border-radius: 5px
          state:
            - align-self: middle
            - font-size: 12px
            - color: rgb(128, 128, 128)