fix: indentation

This commit is contained in:
Chris
2022-11-07 20:41:01 +01:00
parent 3f89c13ba9
commit 88d3185b1e

View File

@@ -3,8 +3,8 @@
############################################################# #############################################################
##### advanced config activate only when you know what you do ##### ##### advanced config activate only when you know what you do #####
# substitutions: # substitutions:
# ## usage of secrets-file ## -> comment in ###### Change ME ###### # ## usage of secrets-file ## -> comment in ###### Change ME ######
# device_name: "nspanel-name" # Wird im Blueprint benötigt! # device_name: "nspanel-name" # Wird im Blueprint benötigt!
# friendly_name: "NSPanel Name" # ändere Name zum Beispiel in den Raum wo das NSPanel verbaut wird # friendly_name: "NSPanel Name" # ändere Name zum Beispiel in den Raum wo das NSPanel verbaut wird
@@ -20,7 +20,7 @@
# dns: "10.0.0.138" # dns: "10.0.0.138"
# domain: ".local" # domain: ".local"
##### end of advanced config ##### ##### end of advanced config #####
###### EDIT THE BELOW ENTITIES FOR YOURS... depricated ####################################################################### ###### EDIT THE BELOW ENTITIES FOR YOURS... depricated #######################################################################
##### - will be removed in future release - ignore it or set if exist ################## ##### - will be removed in future release - ignore it or set if exist ##################
@@ -28,44 +28,44 @@
# ha_heating_system_flame: binary_sensor.flamestatus ##### Buderus Heizung Flamen-Status (Integration) ##### # ha_heating_system_flame: binary_sensor.flamestatus ##### Buderus Heizung Flamen-Status (Integration) #####
# ha_climate_thermostat_target_temp: sensor.nspanel_target_temp ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) ##### # ha_climate_thermostat_target_temp: sensor.nspanel_target_temp ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) #####
# ha_climate_thermostat: climate.nspanel_name ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) ##### # ha_climate_thermostat: climate.nspanel_name ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) #####
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - SUBSTITUTIONS ##### ##### CLOSE - SUBSTITUTIONS #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - Settings ##### ##### START - Settings #####
############################################################# #############################################################
# #
# #
######################################### #########################################
##### Functionality for the Nextion display ##### ##### Functionality for the Nextion display #####
external_components: external_components:
- source: github://pr#2956 - source: github://pr#2956
components: [nextion] components: [nextion]
refresh: 1h refresh: 1h
##### ESP home CONFIG ##### ##### ESP home CONFIG #####
esphome: esphome:
name: ${device_name} name: ${device_name}
##### TYPE OF ESP BOARD ##### ##### TYPE OF ESP BOARD #####
esp32: esp32:
board: esp32dev board: esp32dev
##### WIFI SETUP ##### ##### WIFI SETUP #####
wifi: wifi:
ssid: ${wifi_ssid} ssid: ${wifi_ssid}
password: ${wifi_password} password: ${wifi_password}
power_save_mode: none power_save_mode: none
@@ -81,48 +81,48 @@
ssid: "${device_name}" ssid: "${device_name}"
password: ${wifi_password} password: ${wifi_password}
captive_portal: captive_portal:
web_server: web_server:
port: 80 port: 80
auth: auth:
username: admin username: admin
password: ${ota_password} password: ${ota_password}
##### OTA (Over the air updates) password ##### ##### OTA (Over the air updates) password #####
ota: ota:
password: ${ota_password} password: ${ota_password}
safe_mode: true safe_mode: true
reboot_timeout: 3min reboot_timeout: 3min
num_attempts: 3 num_attempts: 3
##### LOGGER ##### ##### LOGGER #####
logger: logger:
# baud_rate: 0 # baud_rate: 0
# level: WARN # level: WARN
##### CONFIGURE INTERNAL BUZZER ##### ##### CONFIGURE INTERNAL BUZZER #####
output: output:
##### BUZZER FOR PLAYING RINGTONES ##### ##### BUZZER FOR PLAYING RINGTONES #####
- platform: ledc - platform: ledc
id: buzzer_out id: buzzer_out
pin: pin:
number: 21 number: 21
##### ENABLE RINGTONE MUSIC SUPPORT ##### ##### ENABLE RINGTONE MUSIC SUPPORT #####
rtttl: rtttl:
id: buzzer id: buzzer
output: buzzer_out output: buzzer_out
##### UART FOR NEXTION DISPLAY ##### ##### UART FOR NEXTION DISPLAY #####
uart: uart:
tx_pin: 16 tx_pin: 16
rx_pin: 17 rx_pin: 17
baud_rate: 115200 baud_rate: 115200
id: tf_uart id: tf_uart
###### A reboot button is always useful ##### ###### A reboot button is always useful #####
button: button:
- platform: restart - platform: restart
name: ${device_name} Restart name: ${device_name} Restart
id: restart_nspanel id: restart_nspanel
@@ -130,27 +130,27 @@
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - Settings ##### ##### CLOSE - Settings #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - API ##### ##### START - API #####
############################################################# #############################################################
# #
# #
######################################### #########################################
api: api:
services: services:
##### SERVICE TO UPDATE THE HMI FILE ##### ##### SERVICE TO UPDATE THE HMI FILE #####
@@ -213,27 +213,27 @@
switch.is_on: nextion_init switch.is_on: nextion_init
- lambda: 'id(disp1).set_component_background_color(component.c_str(), message);' - lambda: 'id(disp1).set_component_background_color(component.c_str(), message);'
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - API ##### ##### CLOSE - API #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - GLOBALS ##### ##### START - GLOBALS #####
############################################################# #############################################################
# #
# #
######################################### #########################################
globals: globals:
##### Save Target Temp ##### ##### Save Target Temp #####
- id: climate_target_temp_val_global - id: climate_target_temp_val_global
@@ -301,27 +301,27 @@
restore_value: no restore_value: no
initial_value: '' initial_value: ''
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - GLOBALS ##### ##### CLOSE - GLOBALS #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - BINARY SENSOR ##### ##### START - BINARY SENSOR #####
############################################################# #############################################################
# #
# #
######################################### #########################################
binary_sensor: binary_sensor:
###### LEFT BUTTON BELOW DISPLAY TO TOGGLE RELAY##### ###### LEFT BUTTON BELOW DISPLAY TO TOGGLE RELAY#####
- platform: gpio - platform: gpio
@@ -406,27 +406,27 @@
data: data:
entity_id: ${ha_hotwater_charge} entity_id: ${ha_hotwater_charge}
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - BINARY SENSOR ##### ##### CLOSE - BINARY SENSOR #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - SENSOR ##### ##### START - SENSOR #####
############################################################# #############################################################
# #
# #
######################################### #########################################
sensor: sensor:
##### Uptime ##### ##### Uptime #####
- platform: uptime - platform: uptime
@@ -730,27 +730,27 @@
- lambda: return int(x); - lambda: return int(x);
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - SENSOR ##### ##### CLOSE - SENSOR #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - TEXT SENSOR##### ##### START - TEXT SENSOR#####
############################################################# #############################################################
# #
# #
######################################### #########################################
text_sensor: text_sensor:
##### ESPhome version used to compile the app ##### ##### ESPhome version used to compile the app #####
- platform: version - platform: version
@@ -890,27 +890,27 @@
id(disp1).set_component_value("thermostat.a12",0); id(disp1).set_component_value("thermostat.a12",0);
} }
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - TEXT SENSOR ##### ##### CLOSE - TEXT SENSOR #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - SWITCH ##### ##### START - SWITCH #####
############################################################# #############################################################
# #
# #
######################################### #########################################
switch: switch:
# ##### Restart switch ###### # ##### Restart switch ######
# - platform: restart # - platform: restart
@@ -1025,27 +1025,27 @@
value: '1' value: '1'
- lambda: id(disp1).set_component_value("settings.a02",1); - lambda: id(disp1).set_component_value("settings.a02",1);
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - SWITCH ##### ##### CLOSE - SWITCH #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - NUMBER ##### ##### START - NUMBER #####
############################################################# #############################################################
# #
# #
######################################### #########################################
number: number:
##### SCREEN BRIGHTNESS ##### ##### SCREEN BRIGHTNESS #####
- platform: template - platform: template
@@ -1084,27 +1084,27 @@
id: display_dim_brightness_global id: display_dim_brightness_global
value: !lambda 'return int(x);' value: !lambda 'return int(x);'
######################################### #########################################
# #
# #
############################################################# #############################################################
##### CLOSE - NUMBER ##### ##### CLOSE - NUMBER #####
############################################################# #############################################################
# #
## ##
### ###
############################################################################################################################################################################################# #############################################################################################################################################################################################
### ###
## ##
# #
############################################################# #############################################################
##### START - DISPLAY START##### ##### START - DISPLAY START#####
############################################################# #############################################################
# #
# #
######################################### #########################################
display: display:
- platform: nextion - platform: nextion
id: disp1 id: disp1
uart_id: tf_uart uart_id: tf_uart
@@ -1160,6 +1160,6 @@
id(disp1).set_component_value("thermostat.a10",1); id(disp1).set_component_value("thermostat.a10",1);
} }
############################################################# #############################################################
##### CLOSE - DISPLAY START ##### ##### CLOSE - DISPLAY START #####
############################################################# #############################################################