I have the above section in my basic UI. The Heating Pow (power mode) uses a dynamic image for On (Green) Off (white) or Schedule (blue - this image was demonstrating a problem).
This does work well…but I’d like to extend it somewhat.
Off and On are fine with the white/green.
But for the Schedule, I’d like it to be blue when another item (the central heating switch) is off, and green when the central heating switch is on.
Is there anyway to do this with dynamic icons, or do I play with a Visibility Tag in a sitemap to effect what I want?
I’ve added the label just for diagnosing the issue, that the radiator2-schedule-on is working, but everything else defaults to the icon for radiator2-on Even though the label is taking effect to show me the correct visibility clause is working.
Hyphen is a “forbidden character” in an icon filename. Because it is used by the dynamic icon picker mechanism. You can see the above setting for example could get into situations like looking for file radiator2-on-on.png
which would likely fail and deliver instead the default radiator2.png
You can’t really force things this way. I’d guess your icon picker is looking for radiator2-on-radiator2-on.png