I have a page where I display the values of an air quality sensor.
With Dashboard I i used the colorpicker to display a block with a color corresponding to the danger-level. Green=ok red=very_bad and that in 6 steps.
Dashboard 2 does not have the color picker and I cannot find it in the palette.
Any idea how to solve this problem?
Use a ui-text-input widget with mode set to color
Ok, that's easy. Gives me a black block. In Dash1 you could send a hex string as msg.payload f.i. "00DD88" to the node to get a green color, but that does not work.
You have to pass in a hex number so pass in "#00DD88" and it works. Click on the black block to select a colour.
There are some limitations in that selecting HSL or RGB in the colour selector always outputs a hex number for the colour selected.