I have a gauge that I need to change the background color, I have assigned a name in Styling Class properties and I have entered a template:
But when I enter the color this way, it doesn't work.
`<style>
.temp2 {
background-color: {{msg.payload}};
}
</style>`
But if I enter it like this, it works
`<style>
.temp2 {
background-color: red;
}
</style>`
What would be the correct way to do it?