mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
add back 6 entitites to power page, remove upper text box
This commit is contained in:
@@ -10,9 +10,11 @@ head = sharedhead + """
|
||||
covx tTmp.txt,t1.pco,0,0
|
||||
// icon home
|
||||
spstr strCommand.txt,t1.txt,"~",4
|
||||
// text home
|
||||
spstr strCommand.txt,tHome.txt,"~",5
|
||||
"""
|
||||
print(head)
|
||||
start = 5
|
||||
start = 6
|
||||
for i in range(0,6):
|
||||
idxstart = start + (i)*5
|
||||
item = f"""
|
||||
@@ -24,21 +26,17 @@ for i in range(0,6):
|
||||
// speed
|
||||
spstr strCommand.txt,tTmp.txt,"~",{idxstart+2}
|
||||
covx tTmp.txt,t{i}Speed.val,0,0
|
||||
// upper text
|
||||
spstr strCommand.txt,t{i}o.txt,"~",{idxstart+3}
|
||||
// lower text
|
||||
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+4}
|
||||
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3}
|
||||
|
||||
if(t{i}Icon.txt!="")
|
||||
{{
|
||||
vis t{i}Icon,1
|
||||
vis t{i}o,1
|
||||
vis t{i}u,1
|
||||
vis h{i},1
|
||||
}}else
|
||||
{{
|
||||
vis t{i}Icon,0
|
||||
vis t{i}o,0
|
||||
vis t{i}u,0
|
||||
vis h{i},0
|
||||
}}
|
||||
|
||||
BIN
HMI/nspanel.HMI
BIN
HMI/nspanel.HMI
Binary file not shown.
BIN
HMI/nspanel.tft
BIN
HMI/nspanel.tft
Binary file not shown.
Reference in New Issue
Block a user