mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-19 20:54:43 +01:00
implements #654 (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
43df37175a
commit
ee19bcf724
@@ -76,11 +76,11 @@ cardThermo
|
||||
313 Unique line(s) of event code
|
||||
screensaver
|
||||
47 Component(s)
|
||||
411 Line(s) of event code
|
||||
299 Unique line(s) of event code
|
||||
430 Line(s) of event code
|
||||
302 Unique line(s) of event code
|
||||
|
||||
Total
|
||||
19 Page(s)
|
||||
694 Component(s)
|
||||
8217 Line(s) of event code
|
||||
2124 Unique line(s) of event code
|
||||
8236 Line(s) of event code
|
||||
2127 Unique line(s) of event code
|
||||
|
||||
@@ -1105,6 +1105,27 @@ Timer tmSerial
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user