How to change/swap state colors for specific binary_sensor entity?

Hi all, on a regular entities card I have a vehicle presence sensor which has the wrong state color associated to it’s state, i.e. it lights up yellow for the on/home value, instead I’d like it to be dim blue when home and yellow when it’s off/away.


I can’t change the theme as most if not all other entities are correctly color/state aligned, but I understand that this might be done with cardmod, which I have installed, but hands-down my card_mod kung-fu is not strong…

Any chance someone can assist with the necessary card_mod voodoo to make this work? Thanks a bunch in advance!