mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Add selectors to Timer service definitions (#46744)
This commit is contained in:
parent
4b6b03e33e
commit
a5ac338c74
@ -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…
x
Reference in New Issue
Block a user