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
###### 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
# external_components:
# - source: github://pr#2956
@@ -90,7 +90,7 @@ ota:
##### LOGGER #####
logger:
baud_rate: 0
# level: WARN
# level: WARN
##### CONFIGURE INTERNAL BUZZER #####
output:
@@ -366,6 +366,7 @@ api:
} else {
id(disp1).set_component_text_printf(btnbri.c_str(), " ");
}
#### Service to set the entities ####
- service: set_entity
variables:
@@ -557,12 +558,12 @@ sensor:
reference_resistance: 10kOhm
filters:
- lambda: return x + id(temperature_correction_global);
# on_value:
# then:
# - wait_until:
# 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("climate.current_temp", "%.1f", id(temp_nspanel).state);
#on_value:
# then:
# - wait_until:
# 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("climate.current_temp", "%.1f", id(temp_nspanel).state);
##### current value of page-climate target_temp #####
- platform: template
@@ -603,7 +604,6 @@ sensor:
# send text field percentage of current_lightslider_val
- lambda: id(disp1).set_component_text_printf("settings.a04", "%i", id(display_dim_brightness_global));
##### START - TEXT SENSOR CONFIGURATION #####
text_sensor:
@@ -670,7 +670,6 @@ text_sensor:
- lambda: |-
id(page_timer)->execute(int(id(page_timeout).state));
##### START - SWITCH CONFIGURATION #####
switch:
@@ -826,7 +825,7 @@ number:
id: temperature_correction_global
value: !lambda 'return x;'
##### page-timeout #####
##### page-timeout #####
- platform: template
name: ${device_name} Page Timeout
id: page_timeout