homeassistant/archive/lovelace/timer.yaml

31 lines
958 B
YAML
Raw Permalink Normal View History

title: Timer
cards:
- type: vertical-stack
cards:
- type: horizontal-stack
cards:
- type: entity-button
name: start timer countdown
icon: mdi:timer
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.start_test_timer
entity: script.start_test_timer
- type: entity-button
name: abort timer
icon: mdi:timer-off
tap_action:
action: call-service
service: script.turn_on
service_data:
entity_id: script.abort_test_timer
entity: script.abort_test_timer
- type: entities
entities:
- entity: variable.test_timer_countdown
- entity: variable.test_timer_device
name: dummy device
- entity: input_number.test_timer_duration