mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-24 00:14:26 +01:00
update cardPower
This commit is contained in:
@@ -36,6 +36,14 @@ for i in range(0,6):
|
||||
// speed
|
||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+2}
|
||||
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
|
||||
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user