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
@@ -90,7 +90,7 @@ ota:
##### LOGGER ##### ##### LOGGER #####
logger: logger:
baud_rate: 0 baud_rate: 0
# level: WARN # level: WARN
##### CONFIGURE INTERNAL BUZZER ##### ##### CONFIGURE INTERNAL BUZZER #####
output: output:
@@ -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:
@@ -557,12 +558,12 @@ sensor:
reference_resistance: 10kOhm reference_resistance: 10kOhm
filters: filters:
- lambda: return x + id(temperature_correction_global); - lambda: return x + id(temperature_correction_global);
# on_value: #on_value:
# then: # then:
# - wait_until: # - wait_until:
# switch.is_on: nextion_init # switch.is_on: nextion_init
# - lambda: id(disp1).set_component_text_printf("home.current_temp", "%.1f°", id(temp_nspanel).state); # onboard temp (thermostat temp) to home page. # - lambda: id(disp1).set_component_text_printf("home.current_temp", "%.1f°", id(temp_nspanel).state); # onboard temp (thermostat temp) to home page.
# - lambda: id(disp1).set_component_text_printf("climate.current_temp", "%.1f", id(temp_nspanel).state); # - lambda: id(disp1).set_component_text_printf("climate.current_temp", "%.1f", id(temp_nspanel).state);
##### current value of page-climate target_temp ##### ##### current value of page-climate target_temp #####
- platform: template - platform: template
@@ -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:
@@ -826,7 +825,7 @@ number:
id: temperature_correction_global id: temperature_correction_global
value: !lambda 'return x;' value: !lambda 'return x;'
##### page-timeout ##### ##### page-timeout #####
- platform: template - platform: template
name: ${device_name} Page Timeout name: ${device_name} Page Timeout
id: page_timeout id: page_timeout