How would I change the colors around on a z-wave binary sensor so that it is yellow when closed instead of open. I am specifically interested in changing it in the android auto dashboard but I am thinking that is tied to the history color?
Colors used in a history-graph for some domains like “binary_sensor”, “cover” etc are defined in a theme.
You can define own colors.
Check Docs.
For covers, you need to customize these CSS variable in a custom theme like:
--state-cover-closed-color: cyan
--state-cover-open-color: lightgreen
Example:
Similar can be done for binary_sensors:
--state-binary_sensor-garage_door-closed-color: cyan
--state-binary_sensor-garage_door-open-color: lightgreen