Open joons5834 opened 3 years ago
https://github.com/home-assistant/core/issues/35666#issuecomment-629408964
Thanks for the report. I see this as well. This is partially due to the upgrade to using the builtin data updator in the home assistant backend in 0.109, which removed caching of the data. This can be seen as positive change in case the data really is stale (hours old) and a user wants to set an automation on the current temperature for example.
But the NWS servers frequently have very short outages, and the NWS data doesn't update that often, particularly for forecasts. So, we should handle this better by caching the data for short amounts of time, say 15 minutes for observations and an hour for forecasts. We can also retry a data update more often when there is a failed update. I think this would be the best of both worlds: having robust information that isn't "unavailable" several times a day, while also preventing stale info being presented in home assistant.
nws_hr_fc_93_84_2021-09-24_01-00 nws_hr_fc_93_84_2021-09-21_00-00
nws_hr_fc_93_84_2021-09-24_14-00 nws_hr_fc_93_84_2021-09-24_15-00 nws_hr_fc_93_84_2021-09-24_16-00 nws_hr_fc_93_84_2021-09-24_18-00
nws_hr_fc_93_84_2021-09-29_05-00
nws_hr_fc_93_84_2021-09-28_20-01 nws_hr_fc_93_84_2021-09-28_19-00