i just want to show a simple status of my PV-system.
I have 2 variables: PV-production (var1) and the current power consumption (var2)
If var1 > var2 then a button or something else should be green. If it is vice versa it should be red.
I have no idea to realize that?!?
Just to show what i am actually working on: