Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2023-08-20 12:42:36 +00:00
committed by github-actions[bot]
parent a1104b8f81
commit 291102971a
21 changed files with 155 additions and 394 deletions

View File

@@ -74,14 +74,14 @@ popupInSel
34 Component(s)
621 Line(s) of event code
297 Unique line(s) of event code
screensaver
47 Component(s)
457 Line(s) of event code
327 Unique line(s) of event code
cardPower
54 Component(s)
531 Line(s) of event code
349 Unique line(s) of event code
screensaver
47 Component(s)
444 Line(s) of event code
316 Unique line(s) of event code
popupTimer
42 Component(s)
516 Line(s) of event code
@@ -98,5 +98,5 @@ cardEntities
Total
23 Page(s)
878 Component(s)
10421 Line(s) of event code
2421 Unique line(s) of event code
10408 Line(s) of event code
2418 Unique line(s) of event code

View File

@@ -75,8 +75,8 @@ Page popupLight
}
if(defaultBcoColor==0)
{
hBrightness.pic=14
hBrightness.pic1=13
hBrightness.pic=24
hBrightness.pic1=25
hBrightness.pic2=15
hTempSlider.pic=16
hTempSlider.pic1=17

View File

@@ -1299,21 +1299,6 @@ Timer tmSerial
covx tTmp.txt,tNotifyText.pco,0,0
}
}
if(tInstruction.txt=="getBrightness")
{
tSend.txt="event,getBrightnessResponse,"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs dim,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
}
if(tInstruction.txt=="pageType")
{
dim=100