mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-19 22:24:15 +01:00
added timer popup
This commit is contained in:
@@ -154,6 +154,17 @@ The following message can be used to update the content on the cardEntities Page
|
|||||||
|
|
||||||
options are ? seperated
|
options are ? seperated
|
||||||
|
|
||||||
|
### popupTimer
|
||||||
|
|
||||||
|
editable is 0 or 1
|
||||||
|
|
||||||
|
action fields are in the answer on the button press
|
||||||
|
|
||||||
|
in case action is empty the button will be hidden
|
||||||
|
|
||||||
|
`entityUpdateDetail~{entity_id}~~{icon_color}~{entity_id}~{min_remaining}~{sec_remaining}~{editable}~{action1}~{action2}~{action3}~{label1}~{label2}~{label3}`
|
||||||
|
|
||||||
|
|
||||||
### cardThermo Page
|
### cardThermo Page
|
||||||
|
|
||||||
`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl~iconTemperature~dstTempTwoTempMode~btDetail`
|
`entityUpd~*heading*~*navigation*~*internalNameEntiy*~*currentTemp*~*destTemp*~*status*~*minTemp*~*maxTemp*~*stepTemp*[[~*iconId*~*activeColor*~*state*~*hvac_action*]]~tCurTempLbl~tStateLbl~tALbl~iconTemperature~dstTempTwoTempMode~btDetail`
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ for i in range(1,5):
|
|||||||
// get Text (optional Value)
|
// get Text (optional Value)
|
||||||
spstr strCommand.txt,bText{i}.txt,"~",{idxstart+5}
|
spstr strCommand.txt,bText{i}.txt,"~",{idxstart+5}
|
||||||
}}
|
}}
|
||||||
if(type{i}.txt=="button"||type{i}.txt=="input_sel")
|
if(type{i}.txt=="button"||type{i}.txt=="input_sel"||type{i}.txt=="timer")
|
||||||
{{
|
{{
|
||||||
vis bUp{i},0
|
vis bUp{i},0
|
||||||
vis bStop{i},0
|
vis bStop{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