core: Forecast_solar entities not available for some time after restart

The problem

After HA restart, all entities for the forecast_solar integration are unavailable for some time

image image

What is version of Home Assistant Core has the issue?

core-2021.7.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

forecast_solar

Link to integration documentation on our website

https://www.home-assistant.io/integrations/forecast_solar/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-07-08 19:33:48 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 3.020 seconds
2021-07-08 19:33:48 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 3.090 seconds
2021-07-08 19:33:48 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 3.143 seconds
2021-07-08 19:34:12 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 1.147 seconds
2021-07-08 19:34:12 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 1.191 seconds
2021-07-08 19:34:12 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 1.284 seconds
2021-07-08 19:34:23 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 0.775 seconds
2021-07-08 19:34:23 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 0.767 seconds
2021-07-08 19:34:23 DEBUG (MainThread) [homeassistant.components.forecast_solar] Finished fetching forecast_solar data in 0.777 seconds

Additional information

Whilst logs show finished fetching data, the entities are still unavailable

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Update A PR for better handling has been created. And I’m working on more entities for people with API key but that’s still a challenge

Timezone should not be an issue, the API returns UTC datetime with timezone awareness based on where the request cames from (geo location)

Example location in California: image