Move page Boot to pos 0
This commit is contained in:
@@ -17,7 +17,7 @@ substitutions:
|
||||
temp_units: "°C"
|
||||
invalid_cooldown: "100ms"
|
||||
##### DON'T CHANGE THIS ######
|
||||
version: "4.3.1d1"
|
||||
version: "4.3.1b1"
|
||||
##############################
|
||||
|
||||
##### External components #####
|
||||
@@ -845,7 +845,7 @@ display:
|
||||
- id: disp1
|
||||
platform: nextion
|
||||
uart_id: tf_uart
|
||||
start_up_page: 8 # Boot page
|
||||
start_up_page: 0 # Boot page
|
||||
on_setup:
|
||||
lambda: |-
|
||||
nextion_init->publish_state(true);
|
||||
@@ -1164,7 +1164,7 @@ binary_sensor:
|
||||
##### Restart NSPanel Button - Setting Page #####
|
||||
- name: Restart
|
||||
platform: nextion
|
||||
page_id: 7
|
||||
page_id: 8
|
||||
component_id: 9
|
||||
internal: true
|
||||
on_click:
|
||||
@@ -1172,7 +1172,7 @@ binary_sensor:
|
||||
##### Restart NSPanel Button - Boot Page #####
|
||||
- name: Restart
|
||||
platform: nextion
|
||||
page_id: 8
|
||||
page_id: 0
|
||||
component_id: 4
|
||||
internal: true
|
||||
on_click:
|
||||
@@ -2216,7 +2216,7 @@ script:
|
||||
current_page->state != "confirm" &&
|
||||
current_page->state != "keyb_num") {
|
||||
detailed_entity->publish_state("");
|
||||
disp1->send_command_printf("back_page_id=0");
|
||||
disp1->send_command_printf("back_page_id=1");
|
||||
}
|
||||
if (current_page->state != "media_player") {
|
||||
id(last_volume_level) = 0;
|
||||
|
||||
Reference in New Issue
Block a user