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 authored and GitHub committed 2020-04-05 17:27:16 +02:00
1 parent e3bcfb88e7
commit 39336d3ea3
187 files changed
+1649 -1688

No files matched your search

+31 -31
View File
@@ -1,35 +1,35 @@
{
"config": {
"abort": {
"already_configured": "ESP is already configured"
"config": {
"abort": {
"already_configured": "ESP is already configured"
},
"error": {
"resolve_error": "Can't resolve address of the ESP. If this error persists, please set a static IP address: https://esphomelib.com/esphomeyaml/components/wifi.html#manual-ips",
"connection_error": "Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.",
"invalid_password": "Invalid password!"
},
"step": {
"user": {
"data": {
"host": "Host",
"port": "Port"
},
"error": {
"resolve_error": "Can't resolve address of the ESP. If this error persists, please set a static IP address: https://esphomelib.com/esphomeyaml/components/wifi.html#manual-ips",
"connection_error": "Can't connect to ESP. Please make sure your YAML file contains an 'api:' line.",
"invalid_password": "Invalid password!"
"description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node.",
"title": "ESPHome"
},
"authenticate": {
"data": {
"password": "Password"
},
"step": {
"user": {
"data": {
"host": "Host",
"port": "Port"
},
"description": "Please enter connection settings of your [ESPHome](https://esphomelib.com/) node.",
"title": "ESPHome"
},
"authenticate": {
"data": {
"password": "Password"
},
"description": "Please enter the password you set in your configuration for {name}.",
"title": "Enter Password"
},
"discovery_confirm": {
"description": "Do you want to add the ESPHome node `{name}` to Home Assistant?",
"title": "Discovered ESPHome node"
}
},
"title": "ESPHome",
"flow_title": "ESPHome: {name}"
}
"description": "Please enter the password you set in your configuration for {name}.",
"title": "Enter Password"
},
"discovery_confirm": {
"description": "Do you want to add the ESPHome node `{name}` to Home Assistant?",
"title": "Discovered ESPHome node"
}
},
"title": "ESPHome",
"flow_title": "ESPHome: {name}"
}
}