2017-11-05 12:51:52 +00:00
|
|
|
# Describes the format for available timer services
|
|
|
|
|
2017-11-01 03:20:56 +00:00
|
|
|
start:
|
|
|
|
description: Start a timer.
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Entity id of the timer to start. [optional]
|
2020-04-05 08:33:45 +00:00
|
|
|
example: "timer.timer0"
|
2017-11-01 03:20:56 +00:00
|
|
|
duration:
|
|
|
|
description: Duration the timer requires to finish. [optional]
|
2020-04-05 08:33:45 +00:00
|
|
|
example: "00:01:00 or 60"
|
2017-11-01 03:20:56 +00:00
|
|
|
|
|
|
|
pause:
|
|
|
|
description: Pause a timer.
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Entity id of the timer to pause. [optional]
|
2020-04-05 08:33:45 +00:00
|
|
|
example: "timer.timer0"
|
2017-11-01 03:20:56 +00:00
|
|
|
|
|
|
|
cancel:
|
|
|
|
description: Cancel a timer.
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Entity id of the timer to cancel. [optional]
|
2020-04-05 08:33:45 +00:00
|
|
|
example: "timer.timer0"
|
2017-11-01 03:20:56 +00:00
|
|
|
|
|
|
|
finish:
|
|
|
|
description: Finish a timer.
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Entity id of the timer to finish. [optional]
|
2020-04-05 08:33:45 +00:00
|
|
|
example: "timer.timer0"
|