thomasloven / lovelace-auto-entities

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

Can't remove state from display #314

Closed MikeGuest closed 1 year ago

MikeGuest commented 1 year ago

Hi.

Think i'm doing this right. I have an auto-entities card for devices with status unknown. I want to save some screen real-estate by removing the display of the status 'unavailable' - as I already know that information otherwise the device would not be in my list

The list should contain all members of a group plus all temperature sensors (excluding my curtains which inexplicably present as temperature sensors) (Excluding sensors with a state >-100 excludes all except unavailable)

However show_state does not appear to do anything

  - type: custom:auto-entities
    card:
      title: Offline
      type: entities
      show_state: false
    filter:
      include:
        - group: binary_sensor.group_monitor_binary_sensors 
        - domain: sensor
          attributes:
            device_class: temperature
      exclude:
        - state: "off"
        - state: "on"
        - state: ">-100"
        - name: "*Curtain*"
    show_empty: true 

Capture

thomasloven commented 1 year ago

show_state is not an option of the entities card https://www.home-assistant.io/dashboards/entities/