Closed mathiasolofsson87 closed 1 year ago
type: custom:auto-entities
show_empty: true
card:
type: entities
title: Lights on
show_header_toggle: false
filter:
include:
- domain: light
exclude:
- state: 'off'
- state: unavailable
This give s me a card with title:
Hope, that may help you ;-)
@mathiasolofsson87
In short - there is no need to add options to auto-entities
card which are already available for cards used inside auto-entities
.
I.e. - if you need to auto-fill a conventional Entities card - use a title
option of the Entities card (as @BebeMischa suggested).
Awesome, I didnt see the "title" parameter in the documentation. Thanks a lot for the info!
It would be great to be able to add a title to the auto-entities card.
My use case is that I have for example 3 different auto-entities cards to keep track of any available updates to HA or integrations, checking if any battery powered devices are low on battery, if any devices are unavailable. all these auto-entities cards are set to be hidden if no entities match the filters.
Above the auto-entities cards I have a separate card with a title "Battery Status" "Updates" or "unavailable devices". However I cant conditionally hide the title card based on the auto-entities card. So when the auto-entities card is hidden, the title still displays. If I could add the title on the auto-entities card directly it would automatically be hidden together with the auto-entities card.