Climate 2-setpoints preparation
This commit is contained in:
@@ -134,13 +134,13 @@ script:
|
||||
disp1->hide_component("button06");
|
||||
disp1->show_component("button07"); //Off
|
||||
// Set buttons colors
|
||||
disp1->set_component_font_color("climate.button01_icon", 6339);
|
||||
disp1->set_component_font_color("climate.button02_icon", 6339);
|
||||
disp1->set_component_font_color("climate.button03_icon", (thermostat_embedded->mode==climate::CLIMATE_MODE_HEAT) ? 64164 : ((${addon_climate_heat}) ? 48631 : 6339));
|
||||
disp1->set_component_font_color("climate.button04_icon", (thermostat_embedded->mode==climate::CLIMATE_MODE_COOL) ? 1055 : ((${addon_climate_cool}) ? 48631 : 6339));
|
||||
disp1->set_component_font_color("climate.button05_icon", 6339);
|
||||
disp1->set_component_font_color("climate.button06_icon", 6339);
|
||||
disp1->set_component_font_color("climate.button07_icon", (thermostat_embedded->mode==climate::CLIMATE_MODE_OFF) ? 10597 : 35921);
|
||||
disp1->set_component_font_color("climate.button01", 6339);
|
||||
disp1->set_component_font_color("climate.button02", 6339);
|
||||
disp1->set_component_font_color("climate.button03", (thermostat_embedded->mode==climate::CLIMATE_MODE_HEAT) ? 64164 : ((${addon_climate_heat}) ? 48631 : 6339));
|
||||
disp1->set_component_font_color("climate.button04", (thermostat_embedded->mode==climate::CLIMATE_MODE_COOL) ? 1055 : ((${addon_climate_cool}) ? 48631 : 6339));
|
||||
disp1->set_component_font_color("climate.button05", 6339);
|
||||
disp1->set_component_font_color("climate.button06", 6339);
|
||||
disp1->set_component_font_color("climate.button07", (thermostat_embedded->mode==climate::CLIMATE_MODE_OFF) ? 10597 : 35921);
|
||||
}
|
||||
|
||||
- id: !extend addon_climate_set_climate_friendly_name
|
||||
|
||||
Reference in New Issue
Block a user