It would be nice to be able to change the default colors applied to Lovelace history graph cards. The default colors seem somewhat arbitrary and can clash with other elements in the UI.
Or perhaps to select from a different palette if setting each entity and potential value is too troublesome?
type: history-graph
title: 'Lighting History'
entities:
- entity: light.counter_switch
name: 'Counter'
- entity: light.bedroom_lights
name: 'Bedroom'
- entity: light.office_lights
name: 'Office'
- entity: light.bathroom_lights
name: 'Bathroom'
- entity: light.basement_lights
name: 'Basement'
- entity: light.utilityroom_lights
name: 'Utility'
- entity: light.garage_lights
name: 'Garage'
- entity: light.porch_switch
name: 'Porch'
- entity: light.deck_switch
name: 'Deck'
- entity: light.landscape_lights
name: 'Landscape'
While I don't think that this old issue will get attention anymore 馃槩 there are two additional issues with these colors:
history-graph with an binary_sensor for doors and windows, closed is red, while open is green which is the opposite you want, if you have these sensors for security reasons (then open doors or windows are bad and should be red).history_graph is used with an regular sensor, you get different colors for the same state (depending on which state comes first). So in this case, I can't see at a glance, which door is unlocked at which times, because the colors are not consistent:
8% of human males and 0.6% of females of Northern European ancestry are red-green color-blind.
Most helpful comment
Workaround: https://gist.github.com/thomasloven/5ee36708908569c8e168419557cefd08