From 7fb322d4d8374d6049f57528d7ff0c92d9a0ac03 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Wed, 27 Dec 2023 19:36:58 +0100 Subject: [PATCH] New baud rate selector --- .../esphome_advanced_climate_heat_customizations.yaml | 11 ++++------- docs/customization.md | 6 ++++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.test/esphome_advanced_climate_heat_customizations.yaml b/.test/esphome_advanced_climate_heat_customizations.yaml index 775b167..3a17847 100644 --- a/.test/esphome_advanced_climate_heat_customizations.yaml +++ b/.test/esphome_advanced_climate_heat_customizations.yaml @@ -100,8 +100,10 @@ esp32: esphome: # change OTA password, remove after flashing on_boot: - - lambda: |- - id(my_ota).set_auth_password("New password"); + - priority: 601.0 + then: + - lambda: |- + id(my_ota).set_auth_password("New password"); # Limit the amount of resources used for compiling compile_process_limit: 1 @@ -243,11 +245,6 @@ time: mode: auto target_temperature: 18°C -uart: - # Set Nextion comms baud rate to 921600 bps - - id: !extend tf_uart - baud_rate: 9600 - web_server: # Custom web server credentials auth: diff --git a/docs/customization.md b/docs/customization.md index 839e366..6b5343d 100644 --- a/docs/customization.md +++ b/docs/customization.md @@ -111,8 +111,10 @@ First, you need to change the default password using this code. # change OTA password, remove after flashing esphome: on_boot: - - lambda: |- - id(my_ota).set_auth_password("New password"); + - priority: 601.0 + then: + - lambda: |- + id(my_ota).set_auth_password("New password"); ota: password: !secret wifi_password id: my_ota