Add selectors to Timer service definitions (#46744)
parent
4b6b03e33e
commit
a5ac338c74
homeassistant/components/timer
|
@ -1,36 +1,24 @@
|
|||
# Describes the format for available timer services
|
||||
|
||||
start:
|
||||
description: Start a timer.
|
||||
|
||||
description: Start a timer
|
||||
target:
|
||||
fields:
|
||||
entity_id:
|
||||
description: Entity id of the timer to start. [optional]
|
||||
example: "timer.timer0"
|
||||
duration:
|
||||
description: Duration the timer requires to finish. [optional]
|
||||
default: 0
|
||||
example: "00:01:00 or 60"
|
||||
selector:
|
||||
text:
|
||||
|
||||
pause:
|
||||
description: Pause a timer.
|
||||
|
||||
fields:
|
||||
entity_id:
|
||||
description: Entity id of the timer to pause. [optional]
|
||||
example: "timer.timer0"
|
||||
description: Pause a timer
|
||||
target:
|
||||
|
||||
cancel:
|
||||
description: Cancel a timer.
|
||||
|
||||
fields:
|
||||
entity_id:
|
||||
description: Entity id of the timer to cancel. [optional]
|
||||
example: "timer.timer0"
|
||||
description: Cancel a timer
|
||||
target:
|
||||
|
||||
finish:
|
||||
description: Finish a timer.
|
||||
|
||||
fields:
|
||||
entity_id:
|
||||
description: Entity id of the timer to finish. [optional]
|
||||
example: "timer.timer0"
|
||||
description: Finish a timer
|
||||
target:
|
||||
|
|
Loading…
Reference in New Issue