Searching for history-graph analog that allow manually set colors for the values

I use history-graph card a lot. I’m using it to show the status of the devices in my network (I’m using device_tracker integration):

Screenshot 2020-07-28 at 16.21.30

And it is working fine, but sometimes it switches colors. Now Away is blue and Home is dark red, but yesterday the colors was the opposite — Away was dark red and Home was blue.

This is extremely annoying. So, I’m searching for the card that can show the exact same thing as history-graph but it always shows the same states with the same color. Maybe you have some solution to this problem?