Add upload blank tft button to advanced package

This commit is contained in:
Edward Firmo
2023-12-19 02:23:43 +01:00
parent 41a4be4bb5
commit 626550a082

View File

@@ -18,6 +18,18 @@ button:
- logger.log: "Button pressed: 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:
sensor: