-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I wanted something more concise so I used the EXPANDER card from HACS with the layout. It's a little more mobile friendly and can easily be tweaked to generate various alternatives. May have to tweak indentations. I put this on its own dashboard view. Could be updated to show EMPTY as a name, potentially with some styling to make it stand out.
- type: masonry
path: table-view
title: Table View
subview: false
cards:
{% for i in range(1, 10) %}
{% set myvar = "input_text.lock_code_slot_" ~ i ~ "_name" %}
- type: custom:expander-card
title-card:
type: markdown
content: "## Code {{i}} - {{ states( myvar ) }}"
cards:
- type: vertical-stack
cards:
- type: entities
show_header_toggle: false
entities:
- entity: input_text.lock_code_slot_{{i}}_name
secondary_info: none
name: Name
- entity: input_text.lock_code_slot_{{i}}_pin
name: Code
- type: divider
- entity: input_boolean.lock_code_slot_{{i}}_state
name: Enabled
- entity: input_boolean.lock_code_slot_{{i}}_notify
name: Notify
{% endfor %}Metadata
Metadata
Assignees
Labels
No labels