upd: fix climate control

This commit is contained in:
Chris
2022-11-19 20:46:05 +01:00
parent 0d5835e6ec
commit 5c750bed34
2 changed files with 64 additions and 32 deletions

View File

@@ -314,6 +314,7 @@ api:
id(disp1).send_command_printf("climate_right.pic=%i", right);
// send target-temp
id(disp1).set_component_text_printf("target_temp", "%.1f°", value);
id(display_target_temp).publish_state(value);
##### START - GLOBALS CONFIGURATION #####
@@ -465,6 +466,13 @@ sensor:
- 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
name: ${device_name} Display Target Temperature
id: display_target_temp
lambda: return {};
update_interval: 10s
###### Display Brightness GET VALUE FROM NSPanel SLIDER #####
- platform: nextion
id: brightslider