Closed sgofferj closed 1 year ago
@sgofferj
Not sure if this is what you're looking for, but this works:
- type: custom:auto-entities
card:
type: custom:bootstrap-grid-card
class: "row"
card_param: cards
filter:
include:
- domain: light
area: Keuken
options:
type: "custom:button-card"
class: "col-3 col-md-3"
template: button_light
exclude:
- domain: light
name: /[Ll]ampen/
area: Keuken
@mirkin1993 Awesome! That works! YAML is so confusing :laughing: @thomasloven Is there anywhere this example could be put? Docs? Wiki? ...?
I'm trying to fill a bootstrap-grid-card with sensors but I haven't been very successful. The problem is that the bootstrap-grid-card requires an additional level in the config for rows. Example:
I can fill a grid card with gauges with auto-entities, no problem, but grid cards are somewhat unpractical for varying screen formats. Is there a way to fill a bootstrap-grid-card row with auto-entities?