Picture Elements - Light Icon

Hi all,

is there a way to reflect the current light color as an icon in picture elements icon? And if yes, how can i do that? (So i see the actual bulb LD color as an icon in th card)

God damn. Iam so stupid… there is a state-icon … should stop working and that stuff during the night :smiley:

But now i ahve a new question. I have a second,s tatic item, linked to an service call (running a script) which in the end sets the light on but this change is not reflected in the UI. So it looks like state-icon is not refreshed properly, any idea how ti fix that ? (my workarround is using browser-mod to refresh the screen when the script is called)