I’ve been trying to get a graph of the future rainfall forecast as given by the dark sky weather component.
What I’m trying to achieve is basically a mini-graph card version of the rain fall bar chart inthis lovelace card.
When I look at the payload of the dark sky weather (not sensor) component in Node Red, I see each of these values in the path data.attributes.forecast[0].precipitation where the number is how many hours ahead the forecast is for. What I would like to do is get each of these forecast values to a template sensor in some way so I can plot the rain forecast for the next ‘x’ hours. I can’t see how to get all of these value to a single sensor so I could plot it.
My plan was to update the sensor each time the weather component changes but this would mean changing all the value at the same time and as I understand it, the history function of template sensors wouldn’t allow this.
Any ideas?