New baud rate selector

This commit is contained in:
Edward Firmo
2023-12-27 19:36:58 +01:00
parent 2528d3506e
commit 7fb322d4d8
2 changed files with 8 additions and 9 deletions

View File

@@ -100,8 +100,10 @@ esp32:
esphome: esphome:
# change OTA password, remove after flashing # change OTA password, remove after flashing
on_boot: on_boot:
- lambda: |- - priority: 601.0
id(my_ota).set_auth_password("New password"); then:
- lambda: |-
id(my_ota).set_auth_password("New password");
# Limit the amount of resources used for compiling # Limit the amount of resources used for compiling
compile_process_limit: 1 compile_process_limit: 1
@@ -243,11 +245,6 @@ time:
mode: auto mode: auto
target_temperature: 18°C target_temperature: 18°C
uart:
# Set Nextion comms baud rate to 921600 bps
- id: !extend tf_uart
baud_rate: 9600
web_server: web_server:
# Custom web server credentials # Custom web server credentials
auth: auth:

View File

@@ -111,8 +111,10 @@ First, you need to change the default password using this code.
# change OTA password, remove after flashing # change OTA password, remove after flashing
esphome: esphome:
on_boot: on_boot:
- lambda: |- - priority: 601.0
id(my_ota).set_auth_password("New password"); then:
- lambda: |-
id(my_ota).set_auth_password("New password");
ota: ota:
password: !secret wifi_password password: !secret wifi_password
id: my_ota id: my_ota