mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-11 23:57:42 +01:00
implement cardPower for US-P and US-L (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
c701c4a4bf
commit
cc6afe7b1d
@@ -1,20 +1,5 @@
|
||||
--- HMI/n2t-out
|
||||
+++ HMI/US/landscape/n2t-out
|
||||
├── file list
|
||||
│ @@ -1,13 +1,12 @@
|
||||
│ Program.s.txt
|
||||
│ cardAlarm.txt
|
||||
│ cardEntities.txt
|
||||
│ cardGrid.txt
|
||||
│ cardMedia.txt
|
||||
│ -cardPower.txt
|
||||
│ cardQR.txt
|
||||
│ cardThermo.txt
|
||||
│ pageIcons.txt
|
||||
│ pageStartup.txt
|
||||
│ pageTest.txt
|
||||
│ popupFan.txt
|
||||
│ popupLight.txt
|
||||
├── Program.s.txt
|
||||
│ @@ -10,10 +10,7 @@
|
||||
│ int sleepValue=0
|
||||
@@ -176,7 +161,23 @@
|
||||
│ }
|
||||
│ }
|
||||
├── cardQR.txt
|
||||
│ @@ -702,18 +702,14 @@
|
||||
│ @@ -653,15 +653,14 @@
|
||||
│ //command format pageType,specialPageName
|
||||
│ //write name of speical page to tId
|
||||
│ spstr strCommand.txt,tId.txt,"~",1
|
||||
│ //save second arg if there's one
|
||||
│ spstr strCommand.txt,tTmp.txt,"~",2
|
||||
│ //save third arg if there's one
|
||||
│ spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
|
||||
│ - spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4
|
||||
│ //we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
|
||||
│ udelete payloadLength-1
|
||||
│ bufferPos=0
|
||||
│ if(tId.txt=="pageStartup")
|
||||
│ {
|
||||
│ page pageStartup
|
||||
│ }
|
||||
│ @@ -703,18 +702,14 @@
|
||||
│ {
|
||||
│ page cardAlarm
|
||||
│ }
|
||||
|
||||
Reference in New Issue
Block a user