Update esphome.yaml

This commit is contained in:
Blackymas
2022-10-07 22:25:04 +02:00
committed by GitHub
parent 7cd83e7df6
commit aa7775f259

View File

@@ -13,14 +13,14 @@ substitutions:
###### EDIT THE BELOW ENTITIES FOR YOURS... ####################################################################### ###### EDIT THE BELOW ENTITIES FOR YOURS... #######################################################################
ha_weekday: sensor.wochentag ##### Sensor Wochentag generiert in HA (custom_configuration -> nspanel) ##### #ha_weekday: sensor.wochentag ##### Sensor Wochentag generiert in HA (custom_configuration -> nspanel) #####
ha_outdoor_temp: sensor.terrasse_garage_motion_sensor_temperature ##### Temperatur von Bewegungsmelder Outdoor (Zigbee2Mqtt) ##### #ha_outdoor_temp: sensor.terrasse_garage_motion_sensor_temperature ##### Temperatur von Bewegungsmelder Outdoor (Zigbee2Mqtt) #####
ha_hotwater_temp: sensor.hotwater_temp ##### Buderus Heizung Warmwasser Temperatur (Integration) ##### #ha_hotwater_temp: sensor.hotwater_temp ##### Buderus Heizung Warmwasser Temperatur (Integration) #####
ha_hotwater_charge: switch.charge ha_hotwater_charge: switch.charge
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_buro_target_temp ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) ##### ha_climate_thermostat_target_temp: sensor.nspanel_buro_target_temp ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) #####
ha_climate_thermostat: climate.nspanel_buro ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) ##### ha_climate_thermostat: climate.nspanel_buro ##### Climate Thermostat generiert in HA (custom_configuration -> nspanel) #####
ha_humidity: sensor.kinderzimmer_lea_temperatur_sensor_humidity #ha_humidity: sensor.kinderzimmer_lea_temperatur_sensor_humidity
######################################### #########################################
# #
# #
@@ -97,21 +97,21 @@ uart:
id: tf_uart id: tf_uart
##### INFO - Time component that fetches time from home Assistant and updates the display once a minute and when the display is ready at bootup (and time is available) ##### ##### INFO - Time component that fetches time from home Assistant and updates the display once a minute and when the display is ready at bootup (and time is available) #####
time: #time:
- platform: homeassistant # - platform: homeassistant
id: homeassistant_time # id: homeassistant_time
on_time: # on_time:
- seconds: 0 # - seconds: 0
minutes: /1 # minutes: /1
then: # then:
- wait_until: # - wait_until:
switch.is_on: nextion_init # switch.is_on: nextion_init
- lambda: id(disp1).set_component_text_printf("home.a01", "%02i:%02i", id(homeassistant_time).now().hour, id(homeassistant_time).now().minute); # - lambda: id(disp1).set_component_text_printf("home.a01", "%02i:%02i", id(homeassistant_time).now().hour, id(homeassistant_time).now().minute);
on_time_sync: # on_time_sync:
then: # then:
- wait_until: # - wait_until:
switch.is_on: nextion_init # switch.is_on: nextion_init
- lambda: id(disp1).set_component_text_printf("home.a01", "%02i:%02i", id(homeassistant_time).now().hour, id(homeassistant_time).now().minute); # - lambda: id(disp1).set_component_text_printf("home.a01", "%02i:%02i", id(homeassistant_time).now().hour, id(homeassistant_time).now().minute);
###### A reboot button is always useful ##### ###### A reboot button is always useful #####
button: button:
@@ -448,37 +448,37 @@ sensor:
- lambda: id(disp1).set_component_text_printf("thermostat.a04", "%.1f", id(temp_nspanel).state); - lambda: id(disp1).set_component_text_printf("thermostat.a04", "%.1f", id(temp_nspanel).state);
##### TEMPERATURE Outdoor FROM HA ##### ##### TEMPERATURE Outdoor FROM HA #####
- platform: homeassistant # - platform: homeassistant
id: temp_outdoor # id: temp_outdoor
entity_id: $ha_outdoor_temp # entity_id: $ha_outdoor_temp
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.a06", "%.0f°", id(temp_outdoor).state); # - lambda: id(disp1).set_component_text_printf("home.a06", "%.0f°", id(temp_outdoor).state);
- lambda: id(disp1).set_component_text_printf("thermostat.a07", "%.0f°", id(temp_outdoor).state); # - lambda: id(disp1).set_component_text_printf("thermostat.a07", "%.0f°", id(temp_outdoor).state);
##### HUMIDITY Indoor FROM HA ##### ##### HUMIDITY Indoor FROM HA #####
- platform: homeassistant # - platform: homeassistant
id: humidity # id: humidity
entity_id: $ha_humidity # entity_id: $ha_humidity
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.a04", "%.0f°", id(humidity).state); # - lambda: id(disp1).set_component_text_printf("home.a04", "%.0f°", id(humidity).state);
##### THERMOSTAT HOT WATER TEMP FROM HA ##### ##### THERMOSTAT HOT WATER TEMP FROM HA #####
- platform: homeassistant # - platform: homeassistant
id: temp_hotwater # id: temp_hotwater
entity_id: $ha_hotwater_temp # entity_id: $ha_hotwater_temp
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.a07", "%.1f°", id(temp_hotwater).state); # - lambda: id(disp1).set_component_text_printf("home.a07", "%.1f°", id(temp_hotwater).state);
- lambda: id(disp1).set_component_text_printf("thermostat.a08", "%.1f°", id(temp_hotwater).state); # - lambda: id(disp1).set_component_text_printf("thermostat.a08", "%.1f°", id(temp_hotwater).state);
##### THERMOSTAT CLIMATE TARGET TEMPERATURE FROM HA ##### ##### THERMOSTAT CLIMATE TARGET TEMPERATURE FROM HA #####
- platform: homeassistant - platform: homeassistant
@@ -787,14 +787,14 @@ text_sensor:
component_name: coverposition component_name: coverposition
##### Wochentag SENSOR FROM HA ##### ##### Wochentag SENSOR FROM HA #####
- platform: homeassistant # - platform: homeassistant
id: weekday # id: weekday
entity_id: $ha_weekday # entity_id: $ha_weekday
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.a02", "%s", id(weekday).state.c_str()); # - lambda: id(disp1).set_component_text_printf("home.a02", "%s", id(weekday).state.c_str());
##### HEATING System ICON ##### ##### HEATING System ICON #####
- platform: homeassistant - platform: homeassistant
@@ -1165,4 +1165,4 @@ display:
############################################################# #############################################################
##### CLOSE - DISPLAY START ##### ##### CLOSE - DISPLAY START #####
############################################################# #############################################################