Making the buttons of the iOS action widgets change color based on state?

Hey guys, I’m 2 days old into my HASS journey and I need help…

To open my garage, my go-to is the swipe left on my iPhone to get the the widgets. I’ve managed to set up the buttons to open/close my garage but I just wanted to know if I could also get the icon and colors to change base on state (helpful to know if the garage is opening or not without visual confirmation).

I’ve managed to achieve this effect with using button-card, not sure if that’s anyway similar to the actions on the companion app.

TIA

Any iOS pioneers that would like to chime in? Thanks

I’ve been trying to figure out the same. Or maybe change the icon.

Did you have any success with this?

Not really as I’m pursuing other projects rn, I think I might ask reddit soon.