Standardize yaml

No changes in functionalities, just removing blank lines and indentation of comments.
This commit is contained in:
Edward Firmo
2023-04-23 14:29:57 +02:00
committed by GitHub
parent 508dbd01a8
commit 36a0811776

View File

@@ -27,7 +27,7 @@ substitutions:
###### USE THIS ONLY FOR YOUR FIRST TFT UPLOAD ###### USE THIS ONLY FOR YOUR FIRST TFT UPLOAD
###### AND IF EXIT-REPARSE BUTTON FAILS ###### AND IF EXIT-REPARSE BUTTON FAILS
###### ONCE IT WORKED, REMOVE THOSE LINES ###### ONCE IT WORKED, REMOVE THESE LINES
###### https://github.com/esphome/esphome/pull/2956 ###### https://github.com/esphome/esphome/pull/2956
# external_components: # external_components:
# - source: github://pr#2956 # - source: github://pr#2956
@@ -366,6 +366,7 @@ api:
} else { } else {
id(disp1).set_component_text_printf(btnbri.c_str(), " "); id(disp1).set_component_text_printf(btnbri.c_str(), " ");
} }
#### Service to set the entities #### #### Service to set the entities ####
- service: set_entity - service: set_entity
variables: variables:
@@ -603,7 +604,6 @@ sensor:
# send text field percentage of current_lightslider_val # send text field percentage of current_lightslider_val
- lambda: id(disp1).set_component_text_printf("settings.a04", "%i", id(display_dim_brightness_global)); - lambda: id(disp1).set_component_text_printf("settings.a04", "%i", id(display_dim_brightness_global));
##### START - TEXT SENSOR CONFIGURATION ##### ##### START - TEXT SENSOR CONFIGURATION #####
text_sensor: text_sensor:
@@ -670,7 +670,6 @@ text_sensor:
- lambda: |- - lambda: |-
id(page_timer)->execute(int(id(page_timeout).state)); id(page_timer)->execute(int(id(page_timeout).state));
##### START - SWITCH CONFIGURATION ##### ##### START - SWITCH CONFIGURATION #####
switch: switch: