Files
sarah/config/lovelace/button_card_templates/humidity_button.yaml
T
2020-12-08 10:46:05 +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)"