"Jump to settings" on tft

Moved "Jump to settings page" routine from ESPHome to TFT in order to reduce complexity.
This commit is contained in:
Edward Firmo
2023-07-01 09:14:35 +02:00
parent 3aca4c64d2
commit 491472a364
5 changed files with 1 additions and 12 deletions

View File

@@ -545,17 +545,6 @@ binary_sensor:
- lambda: id(disp1).send_command_printf("home.right_bt_pic.pic=77");
- lambda: id(disp1).send_command_printf("home.icon_top_02","\U0000FFFF");
##### JUMP PAGE TO SETTING PAGE #####
- name: $device_name setting page
platform: nextion
page_id: 0
component_id: 52
internal: true
on_multi_click:
- timing:
- ON for at least 1s #LONG Press
then:
- lambda: 'id(disp1).send_command_printf("page settings");'
##### Restart NSPanel Button - Setting Page #####
- name: ${device_name} Restart
@@ -988,4 +977,4 @@ script:
} else {
ESP_LOGD("nspanel", "timer->home");
id(disp1).send_command_printf("page 0");
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.