diff --git a/advanced/esphome/nspanel_esphome_core.yaml b/advanced/esphome/nspanel_esphome_core.yaml index e3ce070..8c91d21 100644 --- a/advanced/esphome/nspanel_esphome_core.yaml +++ b/advanced/esphome/nspanel_esphome_core.yaml @@ -37,59 +37,6 @@ esphome: static const char *const TAG = "on_boot"; ESP_LOGD(TAG, "After boot check-up starting"); set_baud_rate->execute(stoi(baud_rate->state), true); - #- wait_until: - # condition: - # - api.connected: - # timeout: 60s - #- wait_until: - # condition: - # - lambda: !lambda return disp1->is_detected(); - # timeout: 10s - #- lambda: |- - # if (!disp1->is_setup()) { - # exit_reparse->execute(); - # } - #- wait_until: - # condition: - # - lambda: !lambda return disp1->is_setup(); - # timeout: 10s - #- lambda: |- - # static const char *const TAG = "on_boot"; - - # auto delay_seconds_ = [](int seconds) { - # ESP_LOGD(TAG, "Wait %i seconds", seconds); - # for (int i = 0; i < (seconds*4); i++) { - # #ifdef ARDUINO - # delay(250); - # #elif defined(USE_ESP_IDF) - # vTaskDelay(pdMS_TO_TICKS(250)); - # #endif - # App.feed_wdt(); - # } - # }; - - # nextion_status->execute(); - # if (not disp1->is_setup()) { - # ESP_LOGE(TAG, "No response from Nextion display"); - # ESP_LOGD(TAG, "Turn off Nextion"); - # screen_power->turn_off(); - # delay_seconds_(2); - # ESP_LOGD(TAG, "Turn on Nextion"); - # screen_power->turn_on(); - # delay_seconds_(5); - # nextion_status->execute(); - # } - #- wait_until: - # condition: - # - lambda: !lambda return disp1->is_setup(); - # timeout: 20s - #- lambda: |- - # static const char *const TAG = "on_boot"; - # nextion_status->execute(); - # if (not disp1->is_setup()) { - # ESP_LOGE(TAG, "No response from Nextion display"); - # } - # ESP_LOGD(TAG, "Finished"); on_shutdown: then: - switch.turn_off: screen_power @@ -2498,7 +2445,7 @@ script: disp1->set_backlight_brightness(static_cast(brightness) / 100.0f); id(display_last_brightness) = brightness; - - id: set_climate #DEBUG + - id: set_climate mode: restart parameters: current_temp: float diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index b782547..c9e98cd 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -8912,7 +8912,7 @@ action: for_each: '{{ climate_page_entities }}' sequence: *display_value - ##### Slider & climate values ##### #DEBUG + ##### Slider & climate values ##### - &climate-update_slider if: '{{ not (climate_entity == climate and embedded_climate) }}' then: