Closed half5cat closed 2 years ago
openweathermap documentation openweathermap source (message by IssueLinks)
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!
(message by CodeOwnersMention)
This integration is consuming data from the OpenWeatherMap. Could you please check if those details are available for your location on the OpenWeatherMap website?
Hey @fabaff, thanks for looking into this. To clarify: I'm using the onecall API. Looking at the returned data, I would assume that the daily min and max would be used for the forecast temperature sensors? The do indeed return values for my location. Here is the API response (redacted lat, lon):
@half5cat are you using the onecall_hourly or onecall_daily API? I just had the same issue and had to change from onecall_daily to onecall_hourly, as documentation states about forecast weather conditions:
The time period these sensors use depends on the forecast mode selected when configuring the integration: hourly or onecall_hourly will show conditions for the current hour of the day, while daily or onecall_daily will show conditions for the current day.
@juame That was it! Thanks a ton that you can read better than I can. However, I don't know why the forecast low doesn't get populated... Anyways, this did the trick for me.
The problem
sensor.openweathermap_forecast_temperature
reports the same value assensor.openweathermap_temperature
sensor.openweathermap_forecast_temperature_low
reports nothing (unknown).See:
What version of Home Assistant Core has the issue?
core-2022.4.3
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response