homeassistant/archive/lovelace/button-card.yaml.j2

9 lines
144 B
Plaintext
Raw Permalink Normal View History

# lovelace_gen
{% if entity.startswith("light") %}
type: light
{% else %}
type: entity-button
{% endif %}
entity: {{ entity }}
name: {{ name }}