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

This commit is contained in:
joBr99
2022-07-07 21:52:24 +00:00
committed by github-actions[bot]
parent 6068795098
commit 790cad09ab
20 changed files with 493 additions and 220 deletions

View File

@@ -20,10 +20,19 @@ Page cardThermo
Events
Preinitialize Event
for(sys0=0;sys0<60;sys0++)
for(sys0=0;sys0<53;sys0++)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
if(b[sys0].type==98||b[sys0].type==116||b[sys0].type==59)
{
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
if(b[sys0].type==53)
{
b[sys0].bco=defaultBcoColor
b[sys0].bco2=defaultBcoColor
b[sys0].pco=defaultFontColor
}
}
dim=dimValueNormal
vis p0,0