gobigdave
(Dave Dupre)
November 14, 2024, 5:53pm
1
In my weather card, the forecast day is always the day before the actual day until about 6pm local time. At first, I thought this was an issue with the specific card that I was using, but the same thing happens with the standard weather card.
As you can see in the attachment, the current day is Thursday, but the forecast starts Wed.
Looks like this issue has been around a while given I found a couple of other mentions going back a while.
In my weather integration forecast data, i have “datetime” field string like “2023-02-10”.
If i do
{{ strptime(state_attr("weather.home","forecast")[0].datetime, "%Y-%m-%d").strftime("%a") }}
My template shows “Fri”.
But on any weather card i add, the first forecast day is day before (Thu in this case).
My time zone is America/Vancouver, and seems like that cards use some incorrect time zone to parse date, because that day is changing to right one somewhere after 4PM (which is the time diff…
opened 06:08PM - 25 Sep 22 UTC
closed 01:33AM - 26 Jan 23 UTC
stale
integration: open_meteo
### The problem
WIth dark sky coming to an end soon, it would be nice to get th… e weather integrations working. Many of them have issues.
This one specifically has a timezone or time offset problem. The forecast will show for the previous day sometimes.
https://github.com/home-assistant/core/issues/65829
### What version of Home Assistant Core has the issue?
Home Assistant 2022.9.2
### What was the last working version of Home Assistant Core?
none
### What type of installation are you running?
Home Assistant Core
### Integration causing the issue
open_meteo
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/open_meteo
### 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_
Pardon me if I post this in the wrong place. It may me the open_meteo source.
gobigdave
(Dave Dupre)
November 14, 2024, 6:48pm
2
Nevermind. This looks to be an issue with open_meteo. I switched to OpenWeatherMap, and everything is good now.