Fix hvac_action indication icons (#865)
* Fix `hvac_action` indication icons Fix for pages home and climate. This should remove the need for all the 25~30 instances of hot water in the code. * Update nspanel_esphome.yaml
This commit is contained in:
@@ -320,6 +320,7 @@ api:
|
||||
total_steps: int
|
||||
slider_val: int
|
||||
temp_offset: int
|
||||
climate_icon: string
|
||||
then:
|
||||
- wait_until:
|
||||
binary_sensor.is_on: nextion_init
|
||||
@@ -328,6 +329,7 @@ api:
|
||||
{
|
||||
id(disp1).set_component_value("climateslider", slider_val);
|
||||
id(disp1).set_component_text_printf("target_temp", "%.1f°", target_temp);
|
||||
id(disp1).set_component_text_printf("target_icon", "%s", climate_icon.c_str());
|
||||
id(disp1).show_component("target_icon");
|
||||
id(disp1).show_component("target_temp");
|
||||
id(disp1).show_component("climateslider");
|
||||
|
||||
Reference in New Issue
Block a user