Add prettier (in pre-commit and CI) (#33693)

* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
This commit is contained in:
Franck Nijhof
2020-04-05 17:27:16 +02:00
committed by GitHub
parent e3bcfb88e7
commit 39336d3ea3
187 changed files with 1649 additions and 1688 deletions

View File

@@ -5,7 +5,7 @@ set_aux_heat:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"
aux_heat:
description: New value of axillary heater.
example: true
@@ -15,17 +15,17 @@ set_preset_mode:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"
preset_mode:
description: New value of preset mode
example: 'away'
example: "away"
set_temperature:
description: Set target temperature of climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"
temperature:
description: New target temperature for HVAC.
example: 25
@@ -37,14 +37,14 @@ set_temperature:
example: 20
hvac_mode:
description: HVAC operation mode to set temperature to.
example: 'heat'
example: "heat"
set_humidity:
description: Set target humidity of climate device.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"
humidity:
description: New target humidity for climate device.
example: 60
@@ -54,7 +54,7 @@ set_fan_mode:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
example: "climate.nest"
fan_mode:
description: New value of fan mode.
example: On Low
@@ -64,7 +64,7 @@ set_hvac_mode:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
example: "climate.nest"
hvac_mode:
description: New value of operation mode.
example: heat
@@ -74,7 +74,7 @@ set_swing_mode:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.nest'
example: "climate.nest"
swing_mode:
description: New value of swing mode.
@@ -83,11 +83,11 @@ turn_on:
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"
turn_off:
description: Turn climate device off.
fields:
entity_id:
description: Name(s) of entities to change.
example: 'climate.kitchen'
example: "climate.kitchen"