mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 10:57:01 +01:00
update cardPower
This commit is contained in:
@@ -36,6 +36,14 @@ for i in range(0,6):
|
|||||||
// speed
|
// speed
|
||||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+2}
|
spstr strCommand.txt,tTmp.txt,"~",{idxstart+2}
|
||||||
covx tTmp.txt,t{i}Speed.val,0,0
|
covx tTmp.txt,t{i}Speed.val,0,0
|
||||||
|
if(t{i}Speed.val>120)
|
||||||
|
{{
|
||||||
|
t{i}Speed.val=120
|
||||||
|
}}
|
||||||
|
if(t{i}Speed.val<-120)
|
||||||
|
{{
|
||||||
|
t{i}Speed.val=-120
|
||||||
|
}}
|
||||||
// lower text
|
// lower text
|
||||||
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3}
|
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user