WTH: Allow "State Invert" for entities / Dashboards

It would be great, if you could invert the state of a binary sensor (and therefore the state colors for only this specific entity) at dashboard level.

Right now, you always need to apply custom rules per card mod if you don’t want to apply the default color settings for the device_class / domain of an entity (f.e. lock) on a specific card.

Sometimes, an open / unlocked door should be green, instead of red - and this can only be done via CardMod - or for ALL locks.