FL550 / dwd_weather

Deutscher Wetterdienst integration for Home-Assistant
MIT License
173 stars 11 forks source link

How often should entities be updated? #64

Closed nicolazilio closed 1 year ago

nicolazilio commented 1 year ago

Version of home_assistant

2023.3.6

Version of the custom_component

1.2.25

Describe the bug

I would expect the integration to update its data every minute (?, see here), yet in my case it updates exactly at the start of every hour (I haven't set any parameters other than the station ID). Is this the expected behaviour or not?

BTW, thanks a lot for developing this integration, it's great!

FL550 commented 1 year ago

Hi, this is intended behavior, as the data is only provided on an hourly basis.

The checking interval of 1 minutes is there, to make sure using the most current data applicable.

One thing to mention as well is, that the displayed data is only a forecast for the specific hour, which is calculated by DWD every 6 hours. Actual measurements are not possible, since there are only very few weather stations available and these also with a delay of 1 hour. The forecasted values are nevertheless pretty accurate.