@@ -2476,20 +2476,20 @@ script:
|
||||
- lambda: |-
|
||||
if (id(is_uploading_tft)) set_climate->stop();
|
||||
static const char *const TAG = "script.set_climate";
|
||||
ESP_LOGV(TAG, "Starting");
|
||||
ESP_LOGV(TAG, " current_temp: %f", current_temp);
|
||||
ESP_LOGV(TAG, " supported_features: %i", supported_features);
|
||||
ESP_LOGV(TAG, " supported_hvac_modes: %i", supported_hvac_modes);
|
||||
ESP_LOGV(TAG, " target_temp: %f", target_temp);
|
||||
ESP_LOGV(TAG, " target_temp_high: %f", target_temp_high);
|
||||
ESP_LOGV(TAG, " target_temp_low: %f", target_temp_low);
|
||||
ESP_LOGV(TAG, " temp_step: %d", temp_step);
|
||||
ESP_LOGV(TAG, " total_steps: %d", total_steps);
|
||||
ESP_LOGV(TAG, " temp_offset: %i", temp_offset);
|
||||
ESP_LOGV(TAG, " climate_icon: %s", climate_icon.c_str());
|
||||
ESP_LOGV(TAG, " embedded_climate: %s", embedded_climate ? "True" : "False");
|
||||
ESP_LOGD(TAG, "Starting");
|
||||
ESP_LOGD(TAG, " current_temp: %f", current_temp);
|
||||
ESP_LOGD(TAG, " supported_features: %i", supported_features);
|
||||
ESP_LOGD(TAG, " supported_hvac_modes: %i", supported_hvac_modes);
|
||||
ESP_LOGD(TAG, " target_temp: %f", target_temp);
|
||||
ESP_LOGD(TAG, " target_temp_high: %f", target_temp_high);
|
||||
ESP_LOGD(TAG, " target_temp_low: %f", target_temp_low);
|
||||
ESP_LOGD(TAG, " temp_step: %d", temp_step);
|
||||
ESP_LOGD(TAG, " total_steps: %d", total_steps);
|
||||
ESP_LOGD(TAG, " temp_offset: %i", temp_offset);
|
||||
ESP_LOGD(TAG, " climate_icon: %s", climate_icon.c_str());
|
||||
ESP_LOGD(TAG, " embedded_climate: %s", embedded_climate ? "True" : "False");
|
||||
if (current_page->state == "climate") {
|
||||
ESP_LOGV(TAG, "Page climate is visible");
|
||||
ESP_LOGD(TAG, "Page climate is visible");
|
||||
disp1->send_command_printf("climateslider.maxval=%i", total_steps);
|
||||
disp1->set_component_value("temp_offset", temp_offset);
|
||||
disp1->set_component_value("temp_step", temp_step);
|
||||
@@ -2532,7 +2532,7 @@ script:
|
||||
}
|
||||
disp1->set_component_value("embedded", (embedded_climate) ? 1 : 0);
|
||||
}
|
||||
ESP_LOGV(TAG, "Finished");
|
||||
ESP_LOGD(TAG, "Finished");
|
||||
|
||||
- id: set_component_color
|
||||
mode: queued
|
||||
|
||||
Reference in New Issue
Block a user