Translations:SVG-Dashboards/52/en

Материал из Wiren Board

Let's change the color of the element depending on the state of the relay, if the value in the topic is 1 , then paint the object yellow, otherwise - gray:

 
(val == 1) ? ';fill: yellow' : ';fill: gray'