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
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-04-05 10:33:45 +02:00
1 parent 7653dc947a
commit 24840b54ac
73 files changed
+621 -507

No files matched your search

+5 -5
View File
@@ -6,10 +6,10 @@ start:
fields:
entity_id:
description: Entity id of the timer to start. [optional]
example: 'timer.timer0'
example: "timer.timer0"
duration:
description: Duration the timer requires to finish. [optional]
example: '00:01:00 or 60'
example: "00:01:00 or 60"
pause:
description: Pause a timer.
@@ -17,7 +17,7 @@ pause:
fields:
entity_id:
description: Entity id of the timer to pause. [optional]
example: 'timer.timer0'
example: "timer.timer0"
cancel:
description: Cancel a timer.
@@ -25,7 +25,7 @@ cancel:
fields:
entity_id:
description: Entity id of the timer to cancel. [optional]
example: 'timer.timer0'
example: "timer.timer0"
finish:
description: Finish a timer.
@@ -33,4 +33,4 @@ finish:
fields:
entity_id:
description: Entity id of the timer to finish. [optional]
example: 'timer.timer0'
example: "timer.timer0"