Files
sarah/lovelace/button_card_templates/v2/humidity_button.yaml
T
2022-12-01 16:01:59 +02:00

12 lines
291 B
YAML

humidity_button:
type: custom:button-card
template: [regular, progress]
state_display: "[[[ return Math.round(entity.state) + ' %' ]]]"
icon: mdi:water-percent
variables:
min_value: 25
max_value: 90
normal_value: 40
high_value: 65
low_color: "var(--color-red)"