mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-25 17:02:14 +01:00
sync (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
495bd5e8e9
commit
e20a453b64
@@ -16,8 +16,8 @@ popupShutter
|
||||
218 Unique line(s) of event code
|
||||
pageStartup
|
||||
20 Component(s)
|
||||
185 Line(s) of event code
|
||||
131 Unique line(s) of event code
|
||||
189 Line(s) of event code
|
||||
133 Unique line(s) of event code
|
||||
cardLChart
|
||||
33 Component(s)
|
||||
398 Line(s) of event code
|
||||
@@ -76,8 +76,8 @@ cardThermo
|
||||
317 Unique line(s) of event code
|
||||
screensaver
|
||||
46 Component(s)
|
||||
422 Line(s) of event code
|
||||
300 Unique line(s) of event code
|
||||
421 Line(s) of event code
|
||||
302 Unique line(s) of event code
|
||||
screensaver2
|
||||
58 Component(s)
|
||||
344 Line(s) of event code
|
||||
@@ -90,5 +90,5 @@ cardEntities
|
||||
Total
|
||||
21 Page(s)
|
||||
800 Component(s)
|
||||
9215 Line(s) of event code
|
||||
2329 Unique line(s) of event code
|
||||
9218 Line(s) of event code
|
||||
2331 Unique line(s) of event code
|
||||
|
||||
@@ -409,7 +409,7 @@ Text tVersion
|
||||
Horizontal Alignment : center
|
||||
Vertical Alignment : center
|
||||
Input Type : character
|
||||
Text : 49
|
||||
Text : 50
|
||||
Max. Text Size : 10
|
||||
Word wrap : disabled
|
||||
Horizontal Spacing : 0
|
||||
@@ -620,6 +620,10 @@ Timer tmSerial
|
||||
{
|
||||
page screensaver
|
||||
}
|
||||
if(tId.txt=="screensaver2")
|
||||
{
|
||||
page screensaver2
|
||||
}
|
||||
if(tId.txt=="cardEntities")
|
||||
{
|
||||
page cardEntities
|
||||
|
||||
@@ -1143,7 +1143,7 @@ Timer tmSerial
|
||||
//tMainIconAlt2 Color
|
||||
spstr strCommand.txt,tTmp.txt,"~",34
|
||||
covx tTmp.txt,tMainIconAlt2.pco,0,0
|
||||
if(tMainTextAlt2.txt!=""&&p0.w!=320)
|
||||
if(tMainTextAlt2.txt!="")
|
||||
{
|
||||
//value for tMRIcon, activate alternative layout
|
||||
vis tMainIcon,0
|
||||
@@ -1152,22 +1152,25 @@ Timer tmSerial
|
||||
vis tMainIconAlt,1
|
||||
vis tMainTextAlt2,1
|
||||
vis tMainIconAlt2,1
|
||||
vis tForecast1,0
|
||||
vis tF1Icon,0
|
||||
vis tForecast1Val,0
|
||||
//move forecast values to the right
|
||||
tForecast4.txt=tForecast3.txt
|
||||
tForecast3.txt=tForecast2.txt
|
||||
tForecast2.txt=tForecast1.txt
|
||||
tForecast4Val.txt=tForecast3Val.txt
|
||||
tForecast3Val.txt=tForecast2Val.txt
|
||||
tForecast2Val.txt=tForecast1Val.txt
|
||||
tF4Icon.txt=tF3Icon.txt
|
||||
tF3Icon.txt=tF2Icon.txt
|
||||
tF2Icon.txt=tF1Icon.txt
|
||||
tF4Icon.pco=tF3Icon.pco
|
||||
tF3Icon.pco=tF2Icon.pco
|
||||
tF2Icon.pco=tF1Icon.pco
|
||||
if(p0.w!=320)
|
||||
{
|
||||
vis tForecast1,0
|
||||
vis tF1Icon,0
|
||||
vis tForecast1Val,0
|
||||
//move forecast values to the right
|
||||
tForecast4.txt=tForecast3.txt
|
||||
tForecast3.txt=tForecast2.txt
|
||||
tForecast2.txt=tForecast1.txt
|
||||
tForecast4Val.txt=tForecast3Val.txt
|
||||
tForecast3Val.txt=tForecast2Val.txt
|
||||
tForecast2Val.txt=tForecast1Val.txt
|
||||
tF4Icon.txt=tF3Icon.txt
|
||||
tF3Icon.txt=tF2Icon.txt
|
||||
tF2Icon.txt=tF1Icon.txt
|
||||
tF4Icon.pco=tF3Icon.pco
|
||||
tF3Icon.pco=tF2Icon.pco
|
||||
tF2Icon.pco=tF1Icon.pco
|
||||
}
|
||||
}else
|
||||
{
|
||||
vis tMainIcon,1
|
||||
@@ -1298,10 +1301,6 @@ Timer tmSerial
|
||||
{
|
||||
page screensaver
|
||||
}
|
||||
if(tId.txt=="screensaver2")
|
||||
{
|
||||
page screensaver2
|
||||
}
|
||||
if(tId.txt=="cardEntities")
|
||||
{
|
||||
page cardEntities
|
||||
|
||||
Reference in New Issue
Block a user