mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-23 13:02:14 +01:00
fixed dim value on wake (add nextion2text)
This commit is contained in:
@@ -38,10 +38,6 @@ popupLight
|
|||||||
27 Component(s)
|
27 Component(s)
|
||||||
297 Line(s) of event code
|
297 Line(s) of event code
|
||||||
154 Unique line(s) of event code
|
154 Unique line(s) of event code
|
||||||
screensaver
|
|
||||||
25 Component(s)
|
|
||||||
173 Line(s) of event code
|
|
||||||
124 Unique line(s) of event code
|
|
||||||
cardMedia
|
cardMedia
|
||||||
22 Component(s)
|
22 Component(s)
|
||||||
210 Line(s) of event code
|
210 Line(s) of event code
|
||||||
@@ -54,6 +50,10 @@ cardAlarm
|
|||||||
28 Component(s)
|
28 Component(s)
|
||||||
147 Line(s) of event code
|
147 Line(s) of event code
|
||||||
106 Unique line(s) of event code
|
106 Unique line(s) of event code
|
||||||
|
screensaver
|
||||||
|
25 Component(s)
|
||||||
|
173 Line(s) of event code
|
||||||
|
124 Unique line(s) of event code
|
||||||
cardEntities
|
cardEntities
|
||||||
54 Component(s)
|
54 Component(s)
|
||||||
808 Line(s) of event code
|
808 Line(s) of event code
|
||||||
|
|||||||
@@ -666,8 +666,8 @@ Timer tmSerial
|
|||||||
spstr strCommand.txt,tInstruction.txt,",",0
|
spstr strCommand.txt,tInstruction.txt,",",0
|
||||||
if(tInstruction.txt=="wake")
|
if(tInstruction.txt=="wake")
|
||||||
{
|
{
|
||||||
dim=100
|
//dim=100
|
||||||
page originPage.val
|
click tc0,1
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="dimmode")
|
if(tInstruction.txt=="dimmode")
|
||||||
{
|
{
|
||||||
@@ -735,6 +735,7 @@ Timer tmSerial
|
|||||||
}
|
}
|
||||||
if(tInstruction.txt=="pageType")
|
if(tInstruction.txt=="pageType")
|
||||||
{
|
{
|
||||||
|
dim=100
|
||||||
//command format pageType,specialPageName
|
//command format pageType,specialPageName
|
||||||
//write name of speical page to tId
|
//write name of speical page to tId
|
||||||
spstr strCommand.txt,tId.txt,",",1
|
spstr strCommand.txt,tId.txt,",",1
|
||||||
|
|||||||
Reference in New Issue
Block a user