Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui

This commit is contained in:
Johannes Braun
2022-03-20 15:43:30 +01:00
2 changed files with 23 additions and 7 deletions

View File

@@ -16,8 +16,8 @@ cardGrid
224 Unique line(s) of event code 224 Unique line(s) of event code
popupNotify popupNotify
16 Component(s) 16 Component(s)
152 Line(s) of event code 164 Line(s) of event code
100 Unique line(s) of event code 109 Unique line(s) of event code
pageStartup pageStartup
19 Component(s) 19 Component(s)
145 Line(s) of event code 145 Line(s) of event code
@@ -62,5 +62,5 @@ cardEntities
Total Total
14 Page(s) 14 Page(s)
342 Component(s) 342 Component(s)
3065 Line(s) of event code 3077 Line(s) of event code
768 Unique line(s) of event code 773 Unique line(s) of event code

View File

@@ -462,20 +462,36 @@ Timer tmSerial
spstr strCommand.txt,entn.txt,",",1 spstr strCommand.txt,entn.txt,",",1
// get Heading // get Heading
spstr strCommand.txt,tHeading.txt,",",2 spstr strCommand.txt,tHeading.txt,",",2
// heading color
spstr strCommand.txt,tTmp.txt,",",3
covx tTmp.txt,sys0,0,0
tHeading.pco=sys0
// get b1 // get b1
spstr strCommand.txt,b1.txt,",",3 spstr strCommand.txt,b1.txt,",",4
if(b1.txt!="") if(b1.txt!="")
{ {
vis b1,1 vis b1,1
} }
// b1 color
spstr strCommand.txt,tTmp.txt,",",5
covx tTmp.txt,sys0,0,0
b1.pco=sys0
// get b2 // get b2
spstr strCommand.txt,b2.txt,",",4 spstr strCommand.txt,b2.txt,",",6
if(b2.txt!="") if(b2.txt!="")
{ {
vis b2,1 vis b2,1
} }
// b2 color
spstr strCommand.txt,tTmp.txt,",",7
covx tTmp.txt,sys0,0,0
b2.pco=sys0
// get tText // get tText
spstr strCommand.txt,tText.txt,",",5 spstr strCommand.txt,tText.txt,",",8
// tText color
spstr strCommand.txt,tTmp.txt,",",9
covx tTmp.txt,sys0,0,0
tText.pco=sys0
} }
if(tInstruction.txt=="time") if(tInstruction.txt=="time")
{ {