mlamberts78 / weather-chart-card

Custom weather card with charts.
MIT License
306 stars 38 forks source link

The name of the day is incorrectly changed to the time 12:00. #83

Closed RH-Dreambox closed 8 months ago

RH-Dreambox commented 9 months ago

Every day the graph header changes from the name of the day to the time 12:00. This happens sometime between 12:00 and 15:00 (unfortunately I don't know the exact time). In the morning of the next day, the name of the day is displayed correctly again. Weather Chart is configured to show Forecast type: Daily forecast.

I use smhi_weather (sweden) and it shows forecast for 10 days.

If I change the weather provider to MetNO (norge) the header is shown correctly to the name of the day. I have tried to change the Forecast type from Daily to Hourly and back, but this does not help. I use Weather state V2.2.7

Weather state hours

mlamberts78 commented 9 months ago

Hello, can you provide output of the weather data at the time this is the case?

Developer tools - services - Get weather forecast.

And do you see the same behavior on other weather cards at the same time?

RH-Dreambox commented 9 months ago

Hi mlamberts78, Is the data below what you need? At 13:59 local time, the names of the days were displayed correctly. When I looked again at 14:03 local time, the name of the day had been changed to 12:00. The code I attach is copied a few minutes later.

I installed another weather forecast card and it shows the name of the day correctly, but that card only shows the 5 day forecast.

`forecast:

mlamberts78 commented 8 months ago

I’m able to reproduce and will be fixed in a next release.