upd: fix climate control
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user