4 Commits

Author SHA1 Message Date
Edward Firmo
4378acacfa Use pr6192 2024-02-07 04:27:42 +01:00
Edward Firmo
7dfe5af6bf Lint 2024-02-07 03:54:24 +01:00
Edward Firmo
a45d421c01 lint 2024-02-07 03:53:10 +01:00
Edward Firmo
604705d9b6 Use new tft upload with persistent connections 2024-02-07 03:49:38 +01:00
3 changed files with 8 additions and 26 deletions

View File

@@ -19,6 +19,13 @@ substitutions:
upload_tft_baud_rate: "921600" upload_tft_baud_rate: "921600"
############################# #############################
##### External components #####
external_components:
- source: github://pr#6192 # Remove this and update min ver when that PR is released (Hopefully v2024.2.0)
components:
- nextion
refresh: 300s
api: api:
on_client_connected: on_client_connected:
- script.execute: report_settings - script.execute: report_settings

View File

@@ -21,7 +21,7 @@ button:
icon: mdi:file-sync icon: mdi:file-sync
id: tft_reparse_off id: tft_reparse_off
entity_category: config entity_category: config
internal: False internal: false
disabled_by_default: true disabled_by_default: true
on_press: on_press:
- logger.log: "Button pressed: Exit reparse" - logger.log: "Button pressed: Exit reparse"
@@ -36,17 +36,6 @@ script:
- logger.log: "Exit reparse" - logger.log: "Exit reparse"
- uart.write: "DRAKJHSUYDGBNCJHGJKSHBDN" - uart.write: "DRAKJHSUYDGBNCJHGJKSHBDN"
- uart.write: [0xFF, 0xFF, 0xFF] - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: [0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "bkcmd=3"
# - uart.write: [0xFF, 0xFF, 0xFF]
- id: !extend stop_all - id: !extend stop_all
then: then:

View File

@@ -21,20 +21,6 @@ substitutions:
version: "4.2.5dev" version: "4.2.5dev"
############################## ##############################
##### External components #####
external_components:
#- source: github://pr#6128 # Remove this and update min ver when that PR is released (Hopefully v2024.2.0)
# components:
# - nextion
# refresh: 300s
- source: # Update this before the release
type: git
url: https://github.com/edwardtfn/esphome
ref: nextion-21
components: [ nextion ]
refresh: 1s
##### ESPHOME CONFIGURATION ##### ##### ESPHOME CONFIGURATION #####
esphome: esphome:
name: ${name} name: ${name}