I am wondering if someone can help with my styling. I am trying to change the color of the sun phase state map based on the state of my HVAC. If the HVAC is on, I would like to utilize my theme colors (black on white in dark mode and white on black in light mode), but if the HVAC is off, I would like to use an orange fill color. I cannot get it to work though. Here is my code.
comparisons would be for years. But if it’s unable to do that, Can it be setup to do a graph for “decades”?, then that can show at least that year’s power draw and cost vs last year.
Edit: Made a new post instead as i didn’t realize i posted request on someone else’s post.
The card uses “hours_to_show” parameter to define a period from “Now” to “Now - hours_to_show” in the past. It is impossible to select periods like “last week” etc.
As for years - the default Recorder purge interval is 10 days, are you talking about increasing this interval to years?
why is the font of the title in another font-type and font-color than the rest of the HA-cards…this looks terrible when all cards on the dashboard have the same title style but the graph-card not.
Is there any way to expand a single card to “full screen”? I have a card with 6 sensors (and dual axes), and the standard card size is really small, making the plots appear messy. I see that you can set a custom height, but not width. I want to see the data at full size, like the historical data chart.
Any suggestions ?
thanks
Guys, this one is hopefully an easy one
I would like to have the red graph in the background over the entire height and the temperature in the foreground “in” the graph. Unfortunately, I’m too bad at CSS for this.
hi did you ever find a solution to this? i would also like to do something similar or maybe just change the line colornwhen the state of the heating is/was on
Might be a stupid question, but is it normal for all my cards when hovering, only the lowest and highest datapoint is displayed, not the value of the current hovered bar / line point?
States are displayed for POINTS, not just curves. If you do not see a point when hovering - there is no point here.
Update: this for for line graph, but you are using bars… then do not understand the question.