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

This commit is contained in:
joBr99
2022-11-03 20:10:16 +00:00
committed by github-actions[bot]
parent 36724135f6
commit 98561ed593
11 changed files with 102 additions and 223 deletions

View File

@@ -74,7 +74,7 @@ Variable (string) strCommand
Attributes
Scope : local
Text :
Max. Text Size: 500
Max. Text Size: 960
Variable (string) tId
Attributes
@@ -110,7 +110,7 @@ Variable (string) vaModeList
Attributes
Scope : local
Text :
Max. Text Size: 400
Max. Text Size: 900
Variable (int32) vaModePos
Attributes

View File

@@ -365,6 +365,23 @@ Button bColor
}
}
Button bEffect
Attributes
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
State : unpressed
Text : 
Max. Text Size : 10
Events
Touch Press Event
pageIcons.tTmp1.txt=tEntity.txt
pageIcons.tTmp2.txt=entn.txt
pageIcons.tTmp3.txt=tIcon1.txt
page popupInSel
Dual-state Button btOnOff1
Attributes
Scope : local
@@ -557,6 +574,15 @@ Timer tmSerial
spstr strCommand.txt,t4.txt,"~",9
// set t1 Brightness (Localization)
spstr strCommand.txt,t1.txt,"~",10
// activate effect button
spstr strCommand.txt,tTmp.txt,"~",11
if(tTmp.txt=="enable")
{
vis bEffect,1
}else
{
vis bEffect,0
}
}
if(tInstruction.txt=="time")
{