Gauge blinking when car is charging?

I would like to make a gauge “Car Battery” blink when the car is charging …

when entity “Mercedes GLA250e Charging Power” is NOT zero, it means the car is charging, and then the gauge should blink (or change its background color, or whatever other indication …)

when entity “Mercedes GLA250e Charging Power” is back to zero, it means the car is charged and the gauge should display “normal” …

I feel it could be done, but I’m a newbie at yaml … so please help …