Add selectors to Timer service definitions ()

pull/46753/head
Franck Nijhof 2021-02-18 16:54:20 +01:00 committed by GitHub
parent 4b6b03e33e
commit a5ac338c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 23 deletions
homeassistant/components/timer

View File

@ -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: