Hello.
I would like to create an element, displayed on the GUI (read-only by the user), that has
- state=ON with icon_1.png when light.light_1 is OFF
- state=OFF with icon_2.png when light.light_1 is ON AND ( sensor_1 == 1 OR sensor_2 == 0)
How can I do that? Where do I have to start?
thanks.