@@ -50,7 +50,7 @@ api:
|
||||
button:
|
||||
##### UPDATE TFT DISPLAY #####
|
||||
- id: tft_update
|
||||
name: ${name} Update TFT display
|
||||
name: Update TFT display
|
||||
platform: template
|
||||
icon: mdi:file-sync
|
||||
entity_category: config
|
||||
@@ -428,12 +428,6 @@ script:
|
||||
baud_rate: 115200
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Then attempt twice again at 9600bps
|
||||
- script.execute:
|
||||
id: upload_tft_sequence_attempt
|
||||
baud_rate: 9600
|
||||
- script.wait: upload_tft_sequence_attempt
|
||||
|
||||
### Restart Nextion and attempt twice again at default baud rate (115200bps)
|
||||
- script.execute:
|
||||
id: report_upload_progress
|
||||
@@ -500,14 +494,13 @@ script:
|
||||
definitive: false
|
||||
- script.wait: set_baud_rate
|
||||
- delay: 2s
|
||||
# First attempt
|
||||
- script.execute: upload_tft_attempt
|
||||
- script.wait: upload_tft_attempt
|
||||
- delay: 5s
|
||||
# Backup attempt
|
||||
- script.execute: upload_tft_attempt
|
||||
- script.wait: upload_tft_attempt
|
||||
- delay: 5s
|
||||
- repeat:
|
||||
count: 2
|
||||
then:
|
||||
# First attempt
|
||||
- script.execute: upload_tft_attempt
|
||||
- script.wait: upload_tft_attempt
|
||||
- delay: 5s
|
||||
|
||||
- id: upload_tft_sequence_attempt_v414
|
||||
mode: single
|
||||
@@ -1219,7 +1212,7 @@ script:
|
||||
|
||||
select:
|
||||
- id: tft_file_branch
|
||||
name: ${name} Update TFT display - Branch
|
||||
name: Update TFT display - Branch
|
||||
platform: template
|
||||
options:
|
||||
- "v${version}"
|
||||
@@ -1236,7 +1229,7 @@ select:
|
||||
- script.execute: set_tft_file
|
||||
|
||||
- id: tft_file_model
|
||||
name: ${name} Update TFT display - Model
|
||||
name: Update TFT display - Model
|
||||
platform: template
|
||||
options:
|
||||
- "Use nextion_update_url"
|
||||
|
||||
Reference in New Issue
Block a user