Skip to content

Commit

Permalink
Fix Error [braces] too many spaces inside braces
Browse files Browse the repository at this point in the history
  • Loading branch information
theautomation committed Jan 4, 2024
1 parent b33bc7a commit 384d423
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
---
ignore: |
src/config/custom_components/
src/config/blueprints/
src/config/ip_bans.yaml

rules:
braces: enable
brackets: enable
Expand Down
2 changes: 1 addition & 1 deletion src/config/basement-ventilation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ esphome:
esp32:
board: esp-wrover-kit

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min"}}
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/basement-wall-temperature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ esphome:
esp32:
board: esp32dev

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min" }}

Check failure on line 13 in src/config/basement-wall-temperature.yaml

View workflow job for this annotation

GitHub Actions / Yaml lint / Yaml Linter

13:68 [braces] too many spaces inside braces
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/childlock-kitchen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ esphome:
esp8266:
board: nodemcuv2

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min"}}
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/cv-closet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ esp32:
framework:
type: arduino

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min"}}
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/doorbell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ esp8266:
board: esp01_1m
early_pin_init: false

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "480min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "480min" }}

Check failure on line 14 in src/config/doorbell.yaml

View workflow job for this annotation

GitHub Actions / Yaml lint / Yaml Linter

14:69 [braces] too many spaces inside braces
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/watermeter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ esp32:
framework:
type: arduino

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min"}}
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down
2 changes: 1 addition & 1 deletion src/config/weather-station.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ esphome:
esp32:
board: nodemcu-32s

<<: !include { file: common/api.yaml, vars: { reboot_timeout: "15min" } }
<<: !include {file: common/api.yaml, vars: {reboot_timeout: "15min"}}
<<: !include common/wifi.yaml
<<: !include common/captive_portal.yaml
<<: !include common/logger.yaml
Expand Down

0 comments on commit 384d423

Please sign in to comment.