Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2022-10-15 12:55:16 +00:00
committed by github-actions[bot]
parent ee6da21914
commit 898dadf50c
6 changed files with 53 additions and 18 deletions

View File

@@ -34,8 +34,8 @@ Page popupNotify
b2.pco=defaultFontColor
vis tIcon,0
vis tTextAlt,0
tIcon.bco=defaultFontColor
tTextAlt.bco=defaultFontColor
tIcon.pco=defaultFontColor
tTextAlt.pco=defaultFontColor
Variable (string) strCommand
Attributes
@@ -329,10 +329,12 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",10
covx tTmp.txt,sys0,0,0
sleepTimeout=sys0
//font size
spstr strCommand.txt,tTmp.txt,"~",11
covx tTmp.txt,sys0,0,0
tTextAlt.font=sys0
tText.font=sys0
//icon
spstr strCommand.txt,tIcon.txt,"~",12
if(tIcon.txt!="")
{
@@ -340,7 +342,12 @@ Timer tmSerial
vis tTextAlt,1
vis tText,0
tTextAlt.txt=tText.txt
tTextAlt.pco=tText.pco
}
// alt icon color
spstr strCommand.txt,tTmp.txt,"~",13
covx tTmp.txt,sys0,0,0
tIcon.pco=sys0
}
if(tInstruction.txt=="time")
{