Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:auto-entities
- card:
- type: grid
- title: Luci accese
- columns: 2
- square: false
- card_param: cards
- filter:
- template: >-
- {%- for s in expand(states.light.luci)|selectattr('state','eq','on') if
- s.state == 'on' -%}
- {{
- {
- 'type': 'custom:button-card',
- 'entity': s.entity_id,
- 'template': 'light_button_mini',
- 'label': s.name,
- 'name': ' '
- }
- }},
- {%- endfor %}
- sort:
- method: state
- numeric: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement