mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-23 13:02:14 +01:00
change timer from button to text (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
98a1ce3f19
commit
1b017a2211
@@ -2324,7 +2324,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,sys0,0,0
|
||||
btOnOff1.val=sys0
|
||||
}
|
||||
if(type1.txt=="text")
|
||||
if(type1.txt=="text"||type1.txt=="timer")
|
||||
{
|
||||
vis bUp1,0
|
||||
vis bStop1,0
|
||||
@@ -2339,7 +2339,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText1.txt,"~",8
|
||||
}
|
||||
if(type1.txt=="button"||type1.txt=="input_sel"||type1.txt=="timer")
|
||||
if(type1.txt=="button"||type1.txt=="input_sel")
|
||||
{
|
||||
vis bUp1,0
|
||||
vis bStop1,0
|
||||
@@ -2473,7 +2473,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,sys0,0,0
|
||||
btOnOff2.val=sys0
|
||||
}
|
||||
if(type2.txt=="text")
|
||||
if(type2.txt=="text"||type2.txt=="timer")
|
||||
{
|
||||
vis bUp2,0
|
||||
vis bStop2,0
|
||||
@@ -2488,7 +2488,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText2.txt,"~",14
|
||||
}
|
||||
if(type2.txt=="button"||type2.txt=="input_sel"||type2.txt=="timer")
|
||||
if(type2.txt=="button"||type2.txt=="input_sel")
|
||||
{
|
||||
vis bUp2,0
|
||||
vis bStop2,0
|
||||
@@ -2622,7 +2622,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,sys0,0,0
|
||||
btOnOff3.val=sys0
|
||||
}
|
||||
if(type3.txt=="text")
|
||||
if(type3.txt=="text"||type3.txt=="timer")
|
||||
{
|
||||
vis bUp3,0
|
||||
vis bStop3,0
|
||||
@@ -2637,7 +2637,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText3.txt,"~",20
|
||||
}
|
||||
if(type3.txt=="button"||type3.txt=="input_sel"||type3.txt=="timer")
|
||||
if(type3.txt=="button"||type3.txt=="input_sel")
|
||||
{
|
||||
vis bUp3,0
|
||||
vis bStop3,0
|
||||
@@ -2771,7 +2771,7 @@ Timer tmSerial
|
||||
covx tTmp.txt,sys0,0,0
|
||||
btOnOff4.val=sys0
|
||||
}
|
||||
if(type4.txt=="text")
|
||||
if(type4.txt=="text"||type4.txt=="timer")
|
||||
{
|
||||
vis bUp4,0
|
||||
vis bStop4,0
|
||||
@@ -2786,7 +2786,7 @@ Timer tmSerial
|
||||
// get Text (optional Value)
|
||||
spstr strCommand.txt,bText4.txt,"~",26
|
||||
}
|
||||
if(type4.txt=="button"||type4.txt=="input_sel"||type4.txt=="timer")
|
||||
if(type4.txt=="button"||type4.txt=="input_sel")
|
||||
{
|
||||
vis bUp4,0
|
||||
vis bStop4,0
|
||||
|
||||
@@ -70,17 +70,17 @@ cardThermo
|
||||
55 Component(s)
|
||||
555 Line(s) of event code
|
||||
322 Unique line(s) of event code
|
||||
cardMedia
|
||||
57 Component(s)
|
||||
660 Line(s) of event code
|
||||
325 Unique line(s) of event code
|
||||
cardEntities
|
||||
65 Component(s)
|
||||
1181 Line(s) of event code
|
||||
535 Unique line(s) of event code
|
||||
cardMedia
|
||||
57 Component(s)
|
||||
660 Line(s) of event code
|
||||
325 Unique line(s) of event code
|
||||
|
||||
Total
|
||||
19 Page(s)
|
||||
678 Component(s)
|
||||
8425 Line(s) of event code
|
||||
2130 Unique line(s) of event code
|
||||
2132 Unique line(s) of event code
|
||||
|
||||
Reference in New Issue
Block a user