Changing dashboard colors from Appdeamon App

Hello,
I would like to change an icon color in my dashboard from an Appdaemon app.
For instance, my kitchen light icon is Yellow when triggered manually and Amber when triggered by a motion sensor.
Is it possible?
Thanks for your support

On what dashboard? Your question is too vague.

thank for your answer.
I’m referring to a mushroom card on my home assistant dashboard.

Ok, in that case, you’re in the wrong place, this is for AppDaemon.