diff --git a/atom.xml b/atom.xml index bf6fcb9f49..210dff166b 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
entity_id
is given all active timer
}
Set a timer called test
to a duration of 30 seconds.
# Example configuration.yaml entry
-
-# Set a timer called test to a duration of 30 seconds:
timer:
test:
duration: '00:00:30'
# Example automations.yaml entry
- action:
- service: timer.start
@@ -238,6 +238,31 @@ If no entity_id
is given all active timer
entity_id: timer.test
With the script
component you would be able to control a timer (see above for a timer
configuration sample) manually.
script:
+ start_timer:
+ alias: Start timer
+ sequence:
+ - service: timer.start
+ entity_id: timer.test
+ pause_timer:
+ alias: Pause timer
+ sequence:
+ - service: timer.pause
+ entity_id: timer.test
+ cancel_timer:
+ alias: Cancel timer
+ sequence:
+ - service: timer.cancel
+ entity_id: timer.test
+ finish_timer:
+ alias: Finish timer
+ sequence:
+ - service: timer.finish
+ entity_id: timer.test
+
+