mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-27 21:02:14 +01:00
Initial import of cardChart (#592) (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
193091b7d0
commit
f8c8c803eb
@@ -802,7 +802,7 @@ Button bNext
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardPower,"
|
||||
if(bNext.txt=="î")
|
||||
if(bNext.txt=="?")
|
||||
{
|
||||
tSend.txt+="bHome"
|
||||
}else
|
||||
@@ -856,7 +856,7 @@ Button bPrev
|
||||
Events
|
||||
Touch Press Event
|
||||
tSend.txt="event,buttonPress2,cardAlarm,"
|
||||
if(bPrev.txt=="î¶")
|
||||
if(bPrev.txt=="?")
|
||||
{
|
||||
tSend.txt+="bUp"
|
||||
}else
|
||||
@@ -1075,14 +1075,14 @@ Timer tmSerial
|
||||
vis bPrev,1
|
||||
tsw mSwipePrev,1
|
||||
tsw mSwipeUp,0
|
||||
bPrev.txt="î°"
|
||||
bPrev.txt="?"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bPrev,1
|
||||
tsw mSwipePrev,0
|
||||
tsw mSwipeUp,1
|
||||
bPrev.txt="î¶"
|
||||
bPrev.txt="?"
|
||||
}
|
||||
spstr tId.txt,tTmp.txt,"|",1
|
||||
if(tTmp.txt=="0")
|
||||
@@ -1094,12 +1094,12 @@ Timer tmSerial
|
||||
{
|
||||
vis bNext,1
|
||||
tsw mSwipeNext,1
|
||||
bNext.txt="î³"
|
||||
bNext.txt="?"
|
||||
}
|
||||
if(tTmp.txt=="2")
|
||||
{
|
||||
vis bNext,1
|
||||
bNext.txt="î"
|
||||
bNext.txt="?"
|
||||
}
|
||||
// icon color home
|
||||
spstr strCommand.txt,tTmp.txt,"~",3
|
||||
@@ -1299,6 +1299,10 @@ Timer tmSerial
|
||||
{
|
||||
page cardPower
|
||||
}
|
||||
if(tId.txt=="cardChart")
|
||||
{
|
||||
page cardChart
|
||||
}
|
||||
}
|
||||
if(tInstruction.txt=="time")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user