mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 16:06:51 +01:00
fixed pageType command for popupLight page (add nextion2text)
This commit is contained in:
@@ -764,6 +764,10 @@ Timer tmSerial
|
||||
//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
|
||||
if(tId.txt=="cardMedia")
|
||||
{
|
||||
//yay, we are already on the correct page
|
||||
@@ -773,6 +777,11 @@ Timer tmSerial
|
||||
udelete payloadLength-1
|
||||
bufferPos=0
|
||||
}
|
||||
if(tId.txt=="popupLight")
|
||||
{
|
||||
pageIcons.tTmp1.txt=tTmp.txt
|
||||
page popupLight
|
||||
}
|
||||
if(tId.txt=="cardEntities")
|
||||
{
|
||||
page cardEntities
|
||||
|
||||
Reference in New Issue
Block a user