mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 02:07:09 +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
|
# Describes the format for available timer services
|
||||||
|
|
||||||
start:
|
start:
|
||||||
description: Start a timer.
|
description: Start a timer
|
||||||
|
target:
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Entity id of the timer to start. [optional]
|
|
||||||
example: "timer.timer0"
|
|
||||||
duration:
|
duration:
|
||||||
description: Duration the timer requires to finish. [optional]
|
description: Duration the timer requires to finish. [optional]
|
||||||
|
default: 0
|
||||||
example: "00:01:00 or 60"
|
example: "00:01:00 or 60"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
pause:
|
pause:
|
||||||
description: Pause a timer.
|
description: Pause a timer
|
||||||
|
target:
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Entity id of the timer to pause. [optional]
|
|
||||||
example: "timer.timer0"
|
|
||||||
|
|
||||||
cancel:
|
cancel:
|
||||||
description: Cancel a timer.
|
description: Cancel a timer
|
||||||
|
target:
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Entity id of the timer to cancel. [optional]
|
|
||||||
example: "timer.timer0"
|
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
description: Finish a timer.
|
description: Finish a timer
|
||||||
|
target:
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: Entity id of the timer to finish. [optional]
|
|
||||||
example: "timer.timer0"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user