Hey, thanks! That line did the trick.
So the issue is that reusing the statistics card pulls from the main theme, but I have numerous themes defined, and apply them individually to each card. There doesn’t seem to be a way to specify a theme to use on a Plotly card. So it’s pulling from a theme different from what all my other cards use. This means I’d have to specify each color for each card I make with Plotly. Not the worst thing.
But as you see in the comparison between what I had with Apexcharts, and Plotly, my labels and everything else need to specified…
Also, I noticed what Plotly is pulling is different from what I have in my themes… Plotly uses "
card-background-color", but defined in my theme is “ha-background-color”? My themes have been around forever, so maybe these are outdated labels that still work?
I looked at that reference you provided a link to earlier…
The problem for us (and likely what is creating many questions in this thread), is the translation between this…
var trace1 = {
x: [1, 2, 3, 4],
y: [10, 15, 13, 17],
type: 'scatter'
};
Into the format for the Home Assistant card. Is it…?
line:
color: rgb(255, 152, 0)
type: scatter
None of us know. We need a list… LOL
So I have some other elements, like labels, I need to figure out what to specify since the theme isn’t going to carry over. Any help on that would be appreciated. I’d help make the list, but I don’t know what the elements are.
Thanks for everything…