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 2020-04-05 10:33:45 +02:00 committed by GitHub
parent 7653dc947a
commit 24840b54ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 621 additions and 507 deletions

View file

@ -1,14 +1,18 @@
set_datetime:
description: This can be used to dynamically set the date and/or time.
fields:
entity_id: {description: Entity id of the input datetime to set the new value.,
example: input_datetime.test_date_time}
date: {description: The target date the entity should be set to. Do not use with datetime.,
example: '"2019-04-20"'}
time: {description: The target time the entity should be set to. Do not use with datetime.,
example: '"05:04:20"'}
datetime: {description: The target date & time the entity should be set to. Do not use with date or time.,
example: '"2019-04-20 05:04:20"'}
entity_id:
description: Entity id of the input datetime to set the new value.
example: input_datetime.test_date_time
date:
description: The target date the entity should be set to. Do not use with datetime.
example: '"2019-04-20"'
time:
description: The target time the entity should be set to. Do not use with datetime.
example: '"05:04:20"'
datetime:
description: The target date & time the entity should be set to. Do not use with date or time.
example: '"2019-04-20 05:04:20"'
reload:
description: Reload the input_datetime configuration.