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

This commit is contained in:
joBr99
2022-03-31 21:37:35 +00:00
committed by GitHub Actions
parent dc1afd90aa
commit 5d867d7d4c
5 changed files with 80 additions and 60 deletions

View File

@@ -2912,6 +2912,33 @@ Timer tmSerial
{
// command format: entityUpd,heading,navigation,[,type,internalName,iconId,displayName,optionalValue]x4
spstr strCommand.txt,tHeading.txt,",",1
// navigation icons
spstr strCommand.txt,tId.txt,",",2
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="0")
{
vis bPrev,0
}
if(tTmp.txt=="1")
{
vis bPrev,1
bPrev.txt=""
}
if(tTmp.txt=="2")
{
vis bPrev,1
bPrev.txt=""
}
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="0")
{
vis bNext,0
}
if(tTmp.txt=="1")
{
vis bPrev,1
bNext.txt=""
}
// get Type
spstr strCommand.txt,type1.txt,",",3
// get internal name

View File

@@ -52,11 +52,11 @@ cardThermo
232 Unique line(s) of event code
cardEntities
86 Component(s)
1334 Line(s) of event code
540 Unique line(s) of event code
1360 Line(s) of event code
552 Unique line(s) of event code
Total
13 Page(s)
375 Component(s)
3882 Line(s) of event code
3908 Line(s) of event code
1061 Unique line(s) of event code