mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-26 19:02:15 +01:00
don't show palette icon if color temp isn't supported (add nextion2text)
This commit is contained in:
@@ -844,7 +844,7 @@ Timer tmSerial
|
||||
}
|
||||
}else
|
||||
{
|
||||
mode_temp.val=0
|
||||
mode_temp.val=1
|
||||
vis hTempSlider,1
|
||||
vis t3,1
|
||||
vis t4,1
|
||||
@@ -867,7 +867,11 @@ Timer tmSerial
|
||||
}else
|
||||
{
|
||||
vis t0,1
|
||||
vis bColor,1
|
||||
//only enable bColor button if color temp is also supported
|
||||
if(mode_temp.val==1)
|
||||
{
|
||||
vis bColor,1
|
||||
}
|
||||
if(mode.val==0)
|
||||
{
|
||||
vis pColorWheel,1
|
||||
|
||||
Reference in New Issue
Block a user