19 lines
430 B
Plaintext
19 lines
430 B
Plaintext
# lovelace_gen
|
|
|
|
# {% zones = [ '1':'Front North', '2':'Front South', '3':'Front Beds'} %}
|
|
icon: mdi:water
|
|
cards:
|
|
- type: vertical-stack
|
|
cards:
|
|
- type: markdown
|
|
content: >
|
|
# Irrigation
|
|
# {% for zone in zones %}
|
|
# - type: entity-button
|
|
# entity: switch.irrigation_zone_{{ zone }}
|
|
# icon: mdi:water
|
|
# name: zones[zone]
|
|
# tap_action:
|
|
# action: toggle
|
|
# {% endfor %}
|