hass-core/homeassistant/components/timer/services.yaml
Franck Nijhof 24840b54ac
Add yamllint (in pre-commit and CI) (#33676)
* Add yamllint (in pre-commit and CI)

* Fix linting for all YAML files

* Bump and add it to requirements

* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00

36 lines
801 B
YAML

# Describes the format for available timer services
start:
description: Start a timer.
fields:
entity_id:
description: Entity id of the timer to start. [optional]
example: "timer.timer0"
duration:
description: Duration the timer requires to finish. [optional]
example: "00:01:00 or 60"
pause:
description: Pause a timer.
fields:
entity_id:
description: Entity id of the timer to pause. [optional]
example: "timer.timer0"
cancel:
description: Cancel a timer.
fields:
entity_id:
description: Entity id of the timer to cancel. [optional]
example: "timer.timer0"
finish:
description: Finish a timer.
fields:
entity_id:
description: Entity id of the timer to finish. [optional]
example: "timer.timer0"