I recently made a change from using “forecast” to “forecasts” in my configuration, following the suggestions from Taras and ValMarDav also adding ‘weather.forecast_home’ to the attribute definition. However, it seems like the sensor broke again, and I’m encountering an error stating that “hourly” is not defined.
Hi, thank you for tying it out. I restarted Homeassistant a couple times and now it somehow works. I did not change anything, but now the response variable is recognized. No idea, why it works now, but it works :-). Thank you for your support.
One possible thing to look at, is whether your weather integration has been updated to support the new methods for getting forecast data.
One quick way to check is to goto UI->Developers tools->Services tab and enter something like:
However, when I use a weather card, it does not matter which one, I only see the upcoming temperature but never precipation and preciptation probability.
It looks to me like the standard Lovelace weather card is working… you get forecast (cloudy, sunny), forecast temperature… although its not full featured so I don’t think that card shows daily precipitation probability and others.
As for the Hourly Weather Card, just at a glance looking at the code on github, the author has updated it for the new subscribe weather forecast, so I’m not really sure what to tell you.
BTW when you say dev tools shows lots of data, did you use get_forecasts service call to get that data?
I know that forecasts in general is working, since the non standard weather card also shows the temperature. However, even when selecting precepitation amount, nothing comes up. I don’t think that’s normal, is it? I have not found anyone else with that problem while looking for it online.
I use the service tab so it should be fine I think?
Ok, that looks correct to me. Maybe ask the author of the Hourly Weather Card for help on its github.
The only other thing I could suggest is to try this Animated Weather Card. I use it, it supports the new methods for getting forecasts and it works for hourly (as well for daily).
I hadn’t. However, after it didn’t work anymore I had deleted it and just redownloaded. The other weather cards were all downloaded yesterday so at least one of them should have been up to date.
I’m finding the cards work ok but I can’t get a forecast temperature for tomorrow as a sensor. I use it for my energy consumption prediction to help set battery charge levels. I’ve tried several things (just about everything I can find in the community) and I either get “unavailable”, “unknown” or the current value. It’s probably me missing something. But all I’ve done is change the weather entity to suit my config.