mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 02:17:01 +01:00
implements #654 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
43df37175a
commit
ee19bcf724
@@ -2902,3 +2902,39 @@
|
||||
│ Dragging : 0
|
||||
│ Disable release event after dragging: 0
|
||||
│ Send Component ID : disabled
|
||||
│ @@ -508,35 +489,14 @@
|
||||
│ }
|
||||
│ if(tInstruction.txt=="timeout")
|
||||
│ {
|
||||
│ //set timeout to global var
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",1
|
||||
│ covx tTmp.txt,sleepTimeout,0,0
|
||||
│ }
|
||||
│ - if(tInstruction.txt=="statusUpdate")
|
||||
│ - {
|
||||
│ - //statusIcon1
|
||||
│ - spstr strCommand.txt,tIcon1.txt,"~",1
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",2
|
||||
│ - covx tTmp.txt,tIcon1.pco,0,0
|
||||
│ - //statusIcon2
|
||||
│ - spstr strCommand.txt,tIcon2.txt,"~",3
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",4
|
||||
│ - covx tTmp.txt,tIcon2.pco,0,0
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",5
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - tIcon1.font=3
|
||||
│ - }
|
||||
│ - spstr strCommand.txt,tTmp.txt,"~",6
|
||||
│ - if(tTmp.txt!="")
|
||||
│ - {
|
||||
│ - tIcon2.font=3
|
||||
│ - }
|
||||
│ - }
|
||||
│ if(tInstruction.txt=="weatherUpdate"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
|
||||
│ {
|
||||
│ vis tMainIcon,1
|
||||
│ vis tMainIconAlt,0
|
||||
│ vis tMainText,1
|
||||
│ vis tMainTextAlt,0
|
||||
│ vis tMRIcon,0
|
||||
|
||||
Reference in New Issue
Block a user