homeassistant/archive/lovelace/irrigation.yaml.j2.old

20 lines
464 B
Plaintext

# lovelace_gen
{% set zones = ['1','2','3','4','5','6','7','8'] %}
icon: mdi:water
cards:
- type: vertical-stack
cards:
- type: markdown
content: >
# Irrigation
- type: horizontal-stack
cards:
{% for zone in zones %}
- type: entity-button
entity: switch.irrigation_zone_{{ zone }}
icon: mdi:water
name: {{ zone }}
tap_action:
action: toggle
{% endfor %}