Add upload blank tft button to advanced package
This commit is contained in:
@@ -18,6 +18,18 @@ button:
|
|||||||
- logger.log: "Button pressed: Exit reparse"
|
- logger.log: "Button pressed: Exit reparse"
|
||||||
- script.execute: exit_reparse
|
- script.execute: exit_reparse
|
||||||
|
|
||||||
|
##### UPDATE TFT BLANK DISPLAY #####
|
||||||
|
- name: ${device_name} Update TFT display (blank)
|
||||||
|
platform: template
|
||||||
|
icon: mdi:file-sync
|
||||||
|
id: tft_update_blank
|
||||||
|
entity_category: config
|
||||||
|
on_press:
|
||||||
|
- lambda: |-
|
||||||
|
static const char *const TAG = "button.tft_update_blank";
|
||||||
|
ESP_LOGD(TAG, "Button pressed: Update TFT display (blank)");
|
||||||
|
upload_tft->execute("${nextion_blank_url}");
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
|
|||||||
Reference in New Issue
Block a user