upd: BUGGY! climate-control

This commit is contained in:
Chris
2022-11-18 17:15:56 +01:00
parent 76382b3bf2
commit 68c980a021
2 changed files with 107 additions and 25 deletions

View File

@@ -50,6 +50,7 @@ external_components:
##### ESPHOME CONFIGURATION #####
esphome:
name: ${device_name}
min_version: 2022.10.2
##### TYPE OF ESP BOARD #####
esp32:
@@ -311,6 +312,8 @@ api:
id(disp1).send_command_printf("climate_left.pic=%i", left);
id(disp1).send_command_printf("climate_middle.pic=%i", mid);
id(disp1).send_command_printf("climate_right.pic=%i", right);
// send target-temp
id(disp1).set_component_text_printf("target_temp", "%.1f°", value);
##### START - GLOBALS CONFIGURATION #####
@@ -406,15 +409,15 @@ binary_sensor:
- switch.toggle: sleep_modus
##### Hotwater Charge #####
- platform: nextion
name: ${device_name} Hotwater Charge
page_id: 6
component_id: 20
on_click:
- homeassistant.service:
service: switch.toggle
data:
entity_id: ${ha_hotwater_charge}
# - platform: nextion
# name: ${device_name} Hotwater Charge
# page_id: 6
# component_id: 20
# on_click:
# - homeassistant.service:
# service: switch.toggle
# data:
# entity_id: ${ha_hotwater_charge}
##### START - SENSOR CONFIGURATION #####