home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.94k stars 30.99k forks source link

OpenWeatherMap the polling interval 10 min #121925

Closed Al-Dek closed 4 months ago

Al-Dek commented 4 months ago

The problem

Requests are made at 10-minute intervals. As far as I understand, the default interval should be 1 hour. HA restart or integration reload does not help.

What version of Home Assistant Core has the issue?

2024.6.4

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

OpenWeatherMap

Link to integration documentation on our website

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

Diagnostics information

2024-07-14 10:05:15.822 INFO (MainThread) [pyopenweathermap.owm_client] Initializing OWMClient with api version: v3.0 2024-07-14 10:05:15.822 DEBUG (MainThread) [pyopenweathermap.owm_client] Requesting url: https://api.openweathermap.org/data/3.0/onecall?lat=XXX.72&lon=XXX.30&exclude=&appid=2d595c14a16f77f3063abf81f44d133b&units=metric&lang=en 2024-07-14 10:05:16.138 DEBUG (MainThread) [homeassistant.components.openweathermap.coordinator] OWM weather response: WeatherReport.... .... 2024-07-14 10:05:16.141 DEBUG (MainThread) [homeassistant.components.openweathermap.coordinator] Finished fetching openweathermap data in 0.319 seconds (success: True) 2024-07-14 10:15:16.026 DEBUG (MainThread) [pyopenweathermap.owm_client] Requesting url: https://api.openweathermap.org/data/3.0/onecall?lat=XXX.72&lon=XXX.30&exclude=&appid=2d595c14a16f77f3063abf81f44d133b&units=metric&lang=en 2024-07-14 10:15:16.416 DEBUG (MainThread) [homeassistant.components.openweathermap.coordinator] OWM weather response: WeatherReport.... ... 2024-07-14 10:15:16.419 DEBUG (MainThread) [homeassistant.components.openweathermap.coordinator] Finished fetching openweathermap data in 0.393 seconds (success: True) ...

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

image

home-assistant[bot] commented 4 months ago

Hey there @fabaff, @freekode, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (openweathermap) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `openweathermap` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign openweathermap` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


openweathermap documentation openweathermap source (message by IssueLinks)

joostlek commented 4 months ago

The default interval is set to 10 minutes in the code

Al-Dek commented 4 months ago

The default interval is set to 10 minutes in the code

Thank you! Sorry for my misunderstanding.