Move page constructors to TFT
To reduce comms between ESPHome and Nextion, which could help with some sync issues found with 921600 bps.
This commit is contained in:
@@ -147,8 +147,8 @@ Text bt_home_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Text bt_away_icon
|
||||
Attributes
|
||||
@@ -157,8 +157,8 @@ Text bt_away_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Text bt_night_icon
|
||||
Attributes
|
||||
@@ -167,8 +167,8 @@ Text bt_night_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : ï §
|
||||
Max. Text Size : 3
|
||||
|
||||
Text bt_vacat_icon
|
||||
Attributes
|
||||
@@ -177,8 +177,8 @@ Text bt_vacat_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Text bt_bypass_icon
|
||||
Attributes
|
||||
@@ -187,8 +187,8 @@ Text bt_bypass_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î¿
|
||||
Max. Text Size : 3
|
||||
|
||||
Text bt_disarm_icon
|
||||
Attributes
|
||||
@@ -197,8 +197,8 @@ Text bt_disarm_icon
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î¦
|
||||
Max. Text Size : 3
|
||||
|
||||
Picture bt_home_pic
|
||||
Attributes
|
||||
|
||||
@@ -67,8 +67,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—â—‹â—‹â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Text button01pic
|
||||
Attributes
|
||||
|
||||
@@ -67,8 +67,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—â—‹â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Text button01pic
|
||||
Attributes
|
||||
|
||||
@@ -67,8 +67,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Text button01pic
|
||||
Attributes
|
||||
|
||||
@@ -67,8 +67,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—‹â—
|
||||
Max. Text Size : 12
|
||||
|
||||
Text button01pic
|
||||
Attributes
|
||||
|
||||
@@ -259,8 +259,8 @@ Text button01
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : îº
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -280,8 +280,8 @@ Text button02
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î©
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -301,8 +301,8 @@ Text button03
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -322,8 +322,8 @@ Text button04
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -343,8 +343,8 @@ Text button05
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î–
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -364,8 +364,8 @@ Text button06
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : îˆ
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -385,8 +385,8 @@ Text button07
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î¤
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
|
||||
@@ -120,7 +120,7 @@ Button cover_open
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Text : ï„
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -139,7 +139,7 @@ Button cover_close
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Text : ï„›
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -158,7 +158,7 @@ Button cover_stop
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
|
||||
@@ -277,8 +277,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—â—‹â—‹â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
|
||||
@@ -277,8 +277,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—â—‹â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
|
||||
@@ -277,8 +277,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—â—‹
|
||||
Max. Text Size : 12
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
|
||||
@@ -277,8 +277,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—‹â—
|
||||
Max. Text Size : 12
|
||||
|
||||
Button button_back
|
||||
Attributes
|
||||
|
||||
@@ -111,8 +111,8 @@ Button button_up
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : ï‘
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
@@ -150,8 +150,8 @@ Button button_on
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : îˆ
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
@@ -192,8 +192,8 @@ Button button_down
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
@@ -231,8 +231,8 @@ Button button_off
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î œ
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
|
||||
@@ -231,8 +231,8 @@ Button bclear
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text : <
|
||||
Max. Text Size : 5
|
||||
Text : î™
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -259,7 +259,7 @@ Button benter
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text : OK
|
||||
Text : î„«
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -273,7 +273,7 @@ Button bview
|
||||
Dragging : 0
|
||||
Send Component ID: on press and release
|
||||
State : unpressed
|
||||
Text : O
|
||||
Text : 
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
|
||||
@@ -96,7 +96,7 @@ Text bt_vol_down
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Text : î
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -122,7 +122,7 @@ Text bt_vol_up
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Text : îœ
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -148,7 +148,7 @@ Text bt_mute
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Text : îž
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
@@ -215,8 +215,8 @@ Text bt_prev
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î’
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -234,8 +234,8 @@ Text bt_play_pause
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -253,8 +253,8 @@ Text bt_next
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î’¬
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
@@ -272,8 +272,8 @@ Text bt_on_off
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 10
|
||||
Text : î¤
|
||||
Max. Text Size : 3
|
||||
|
||||
Events
|
||||
Touch Release Event
|
||||
|
||||
@@ -157,8 +157,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—â—‹â—‹â—‹â—‹
|
||||
Max. Text Size : 15
|
||||
|
||||
Picture weather_icon
|
||||
Attributes
|
||||
|
||||
@@ -157,8 +157,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—â—‹â—‹â—‹
|
||||
Max. Text Size : 15
|
||||
|
||||
Picture weather_icon
|
||||
Attributes
|
||||
|
||||
@@ -157,8 +157,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—â—‹â—‹
|
||||
Max. Text Size : 15
|
||||
|
||||
Picture weather_icon
|
||||
Attributes
|
||||
|
||||
@@ -157,8 +157,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—‹â—â—‹
|
||||
Max. Text Size : 15
|
||||
|
||||
Picture weather_icon
|
||||
Attributes
|
||||
|
||||
@@ -157,8 +157,8 @@ Text page_index
|
||||
Dragging : 0
|
||||
Send Component ID : on press and release
|
||||
Associated Keyboard: none
|
||||
Text :
|
||||
Max. Text Size : 20
|
||||
Text : â—‹â—‹â—‹â—‹â—
|
||||
Max. Text Size : 15
|
||||
|
||||
Picture weather_icon
|
||||
Attributes
|
||||
|
||||
Reference in New Issue
Block a user