mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-19 12:44:44 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui
This commit is contained in:
@@ -26,10 +26,6 @@ popupShutter
|
|||||||
19 Component(s)
|
19 Component(s)
|
||||||
148 Line(s) of event code
|
148 Line(s) of event code
|
||||||
84 Unique line(s) of event code
|
84 Unique line(s) of event code
|
||||||
popupLight
|
|
||||||
27 Component(s)
|
|
||||||
290 Line(s) of event code
|
|
||||||
149 Unique line(s) of event code
|
|
||||||
pageSwipeTest
|
pageSwipeTest
|
||||||
18 Component(s)
|
18 Component(s)
|
||||||
62 Line(s) of event code
|
62 Line(s) of event code
|
||||||
@@ -46,6 +42,10 @@ pageStartup
|
|||||||
19 Component(s)
|
19 Component(s)
|
||||||
140 Line(s) of event code
|
140 Line(s) of event code
|
||||||
107 Unique line(s) of event code
|
107 Unique line(s) of event code
|
||||||
|
popupLight
|
||||||
|
27 Component(s)
|
||||||
|
297 Line(s) of event code
|
||||||
|
154 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
28 Component(s)
|
28 Component(s)
|
||||||
159 Line(s) of event code
|
159 Line(s) of event code
|
||||||
@@ -58,5 +58,5 @@ cardEntities
|
|||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
302 Component(s)
|
302 Component(s)
|
||||||
2664 Line(s) of event code
|
2671 Line(s) of event code
|
||||||
689 Unique line(s) of event code
|
693 Unique line(s) of event code
|
||||||
|
|||||||
@@ -849,12 +849,21 @@ Timer tmSerial
|
|||||||
spstr strCommand.txt,tInstruction.txt,",",0
|
spstr strCommand.txt,tInstruction.txt,",",0
|
||||||
if(tInstruction.txt=="entityUpdateDetail")
|
if(tInstruction.txt=="entityUpdateDetail")
|
||||||
{
|
{
|
||||||
// get Button State
|
// change icon
|
||||||
spstr strCommand.txt,tTmp.txt,",",1
|
spstr strCommand.txt,tTmp.txt,",",1
|
||||||
covx tTmp.txt,sys0,0,0
|
covx tTmp.txt,sys0,0,0
|
||||||
|
substr pageIcons.tIcons.txt,tIcon1.txt,sys0,1
|
||||||
|
vis tIcon1,1
|
||||||
|
// change icon color
|
||||||
|
spstr strCommand.txt,tTmp.txt,",",2
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
|
tIcon1.pco=sys0
|
||||||
|
// get Button State
|
||||||
|
spstr strCommand.txt,tTmp.txt,",",3
|
||||||
|
covx tTmp.txt,sys0,0,0
|
||||||
btOnOff1.val=sys0
|
btOnOff1.val=sys0
|
||||||
// get Brightness value
|
// get Brightness value
|
||||||
spstr strCommand.txt,tTmp.txt,",",2
|
spstr strCommand.txt,tTmp.txt,",",4
|
||||||
if(tTmp.txt=="disable")
|
if(tTmp.txt=="disable")
|
||||||
{
|
{
|
||||||
vis t1,0
|
vis t1,0
|
||||||
@@ -873,7 +882,7 @@ Timer tmSerial
|
|||||||
if(mode.val==1)
|
if(mode.val==1)
|
||||||
{
|
{
|
||||||
// get ColorTemp value
|
// get ColorTemp value
|
||||||
spstr strCommand.txt,tTmp.txt,",",3
|
spstr strCommand.txt,tTmp.txt,",",5
|
||||||
if(tTmp.txt=="unknown")
|
if(tTmp.txt=="unknown")
|
||||||
{
|
{
|
||||||
click bColor,1
|
click bColor,1
|
||||||
@@ -895,7 +904,7 @@ Timer tmSerial
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// get ColorWheel value
|
// get ColorWheel value
|
||||||
spstr strCommand.txt,tTmp.txt,",",4
|
spstr strCommand.txt,tTmp.txt,",",6
|
||||||
if(tTmp.txt!="disable")
|
if(tTmp.txt!="disable")
|
||||||
{
|
{
|
||||||
vis bColor,1
|
vis bColor,1
|
||||||
|
|||||||
Reference in New Issue
Block a user