mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
fix shutter on grid page (add nextion2text)
This commit is contained in:
@@ -642,7 +642,7 @@ Button bEntity1
|
||||
tTmp.txt=type1.txt
|
||||
pageIcons.tTmp1.txt=tEntity1.txt
|
||||
pageIcons.tTmp2.txt=entn1.txt
|
||||
if(tEntity1.txt=="shutter")
|
||||
if(type1.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
@@ -707,7 +707,7 @@ Button bEntity2
|
||||
tTmp.txt=type2.txt
|
||||
pageIcons.tTmp1.txt=tEntity2.txt
|
||||
pageIcons.tTmp2.txt=entn2.txt
|
||||
if(tEntity2.txt=="shutter")
|
||||
if(type2.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
@@ -772,7 +772,7 @@ Button bEntity3
|
||||
tTmp.txt=type3.txt
|
||||
pageIcons.tTmp1.txt=tEntity3.txt
|
||||
pageIcons.tTmp2.txt=entn3.txt
|
||||
if(tEntity3.txt=="shutter")
|
||||
if(type3.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
@@ -837,7 +837,7 @@ Button bEntity4
|
||||
tTmp.txt=type4.txt
|
||||
pageIcons.tTmp1.txt=tEntity4.txt
|
||||
pageIcons.tTmp2.txt=entn4.txt
|
||||
if(tEntity4.txt=="shutter")
|
||||
if(type4.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
@@ -902,7 +902,7 @@ Button bEntity5
|
||||
tTmp.txt=type5.txt
|
||||
pageIcons.tTmp1.txt=tEntity5.txt
|
||||
pageIcons.tTmp2.txt=entn5.txt
|
||||
if(tEntity5.txt=="shutter")
|
||||
if(type5.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
@@ -967,7 +967,7 @@ Button bEntity6
|
||||
tTmp.txt=type6.txt
|
||||
pageIcons.tTmp1.txt=tEntity6.txt
|
||||
pageIcons.tTmp2.txt=entn6.txt
|
||||
if(tEntity6.txt=="shutter")
|
||||
if(type6.txt=="shutter")
|
||||
{
|
||||
page popupShutter
|
||||
}
|
||||
|
||||
@@ -63,4 +63,4 @@ Total
|
||||
14 Page(s)
|
||||
342 Component(s)
|
||||
3105 Line(s) of event code
|
||||
769 Unique line(s) of event code
|
||||
765 Unique line(s) of event code
|
||||
|
||||
Reference in New Issue
Block a user