The weather forecast is unfortunately not possible to visualize through this card since the graph is calculated from history data.
If you want to display the temperature history based on DarkSky you can setup a DarkSky sensor to track the current temperature and then use that sensor entity in a mini-graph-card card.
Something like this for the sensor config
# Example configuration.yaml entry
sensor:
- platform: darksky
api_key: YOUR_API_KEY
forecast:
- 0
monitored_conditions:
- temperature
Yes, most color formats should work since color is applied through css, exactly.
This would have been very cool but unfortunately no, at least not right now.
The line is rendered as a single SVG path, making it impossible to have different colors for different sections of the line.
In order to make this work we would need to rework the way we compute and render the graph. Possibly by splitting and rendering the line in smaller sections instead, and apply colors to the individual sections based on their value.
This would require a fair bit of additional which would make computing and rendering the graph a bit more demanding for the browser.
Might look into this more in the future. Itâs a really cool idea, and by applying gradients to the individual line sections we could have them blend together which would look really great!
Thanks for the answer, unfortunately I want to see the future temperature forecast, not the past. If you use the standard weather card and click for more details, you can get the next couple days of hourly forecast data, but I have no idea how to get this to graph.
please do, it would really make the sensor worth while for insight into behavior, and not just for the actual moment.
if you need a tester, please chime back in!
Yeah thatâs kind of what I figured (that itâs not possible), but itâs a bit annoying knowing the data is there and canât be graphed. Viewing it in tabular form is far less effective at conveying the data. Thanks for confirming my suspicion though.
Definitely, I want to implement this, and hopefully sooner than later.
It should work pretty well as long as the entities are within similar value range.
graphData isnât references anywhere in the later versions of the code, grab the latest bundle version and change the ?v= at the end of the resource reference in ui-lovelace.yaml if you didnât already.
If that doesnât solve it, clear cache or/and restart HA.
About the size of the font will be possible in future? And which value to use in the source to lower the size?
I got the latest, which value to put in the resources to make the .js recognized by custom updater? Actually it is not recognized like, for example, mini-media-player cardâŠ
beatiful!
hope these graph color changes work out as we discussed before. This makes for a very nice history-graph.
thanks in advance for the good work!
Canât wait to see how these look with my weather station project. Thanks for your work in implementing min & max temps. Once you get inspired your turn around is so quick thanks.