Weather component graph

I am in the process of trying to get dutch weather added into ha (data from buienradar.nl).
I used yr as a starting point for the sensors (fully configurable).
Now trying to get a weather component to work for this source.

I have it running at the moment, but I do not understand what HA is doing / visualizing for the weather component:

HA is drawing a graph in my weather component, but it never draws anything!
I tried some of the other weather components as well (ZAMG and BOM), they also do not show anything in the graph…

Am I not doing something in the weather component, or is this something in the generic weather component?
Please let me know…

BTW: running HA 0.40.1 /

1 Like

The weather component doesn’t has its own GUI part at the moment.

I researched a bit; and got this working (to answer my own question)
Based on this posting: https://github.com/home-assistant/home-assistant/issues/6689
I discovered that the graph shown is actually trying to draw a forecast; which was data I was not sending in…

Once the data is added by the weather component, it correctly draws the graph:

The fix mentioned in the link above should hide the graph, when the forecase data is not generated…

1 Like

Yes indeed, it should hide the graph when no forecast data is present.
I’m not sure if this fix is in a new version of HA yet, this might not be the case yet.
Looking through the commits the frontend hasn’t been update yet with the fix, it will probably be included in the new version of HA.

Nice work, are you going to publish this component?

yep; the sensor & weather component has just been merged into the HA dev branch;

probably going to be released in the next HA version… not sure how fast this will be done normally…
See: https://github.com/home-assistant/home-assistant/pull/7592