mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
untested fix for #768
This commit is contained in:
@@ -33,6 +33,10 @@ for i in range(0,6):
|
||||
// speed
|
||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+7}
|
||||
covx tTmp.txt,t{i}Speed.val,0,0
|
||||
if(p0.h==320)
|
||||
{{
|
||||
t{i}Speed.val=t{i}Speed.val*-1
|
||||
}}
|
||||
if(t{i}Speed.val>120)
|
||||
{{
|
||||
t{i}Speed.val=120
|
||||
|
||||
@@ -155,12 +155,6 @@ sharedfoot = """
|
||||
//set timeout to global var
|
||||
spstr strCommand.txt,tTmp.txt,"~",1
|
||||
covx tTmp.txt,sleepTimeout,0,0
|
||||
//temporary disable sleep timer
|
||||
spstr strCommand.txt,tTmp.txt,"~",2
|
||||
if(tTmp.txt=="disable")
|
||||
{
|
||||
tmSleep.en=0
|
||||
}
|
||||
}
|
||||
// end of user code
|
||||
udelete payloadLength-1
|
||||
|
||||
Reference in New Issue
Block a user