Bar colors in History Chart

Okay, on the history chart, my motion sensors show a green bar when “clear” and red when “detected”. With the vibration sensors it shows a red bar when “clear” and green when “detected”. With both types, they are grey when “unavailable” (which is fine, at least it’s consistent). This is a little bit annoying.
Does anyone if there is a way to assign color selections for my binary devices on the History Chart? Currently, even in an idle household, my History Chart looks like a Christmas Tree.

There is no way to assign, that inversion looks like a bug to me, since green should be the “good” state

I know this is old but I’d like to +1 on this. I want to be able to define the colors used for the AQI Sensor so they match the standard.

More like this:

image

I loaded the custom-ui, History Explorer and Mini Graph Card to see if I can get something to work but it would be nice to just define states as whatever color you wanted.