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.74k stars 30.85k forks source link

tomorrow.io / Climacell time zone issue #73080

Closed Anwen747 closed 2 years ago

Anwen747 commented 2 years ago

The problem

I am having a problem with my Climacell/Tomorrow.io weather data. At 8 PM local, when UTC changes to the next day, I no longer see the current day’s data. My weather cards start showing, for example, Sunday’s data even though it is still Saturday for me. In the custom card you can see that the name of the day is still as it should be, but the data has shifted. In the HA built-in weather card, it loses the current day high/low data, so it changes to showing precipitation instead, and the days shift forward.

I first installed the Climacell integration in HA Core 2021.5.5, but I was only using pollen data at that point. I started looking at the daily forecast in more detail in HA Core 2022.2 . This problem has always existed for me, through all following HA core updates. All my time zone settings appear to be correct. I am running HA Container on an Ubuntu Server host in a Proxmox VM.

Before UTC day change, prior to 8 PM local time on Saturday: Climacell Daily Day

After UTC day change, after 8 PM local time, still Saturday in my time zone: Climacell Daily Night

Example of data in Dev-States (prior to 8 PM local; at 8PM local the first day under forecast changes to the following day. (This screenshot was done Sunday morning, so not on the same day as the other screenshots):

dev states

HA System Health:

System Health

In the template editor:

template_editor_light

Inside the container:

docker-exec

Ubuntu host:

timedatectl_ubuntu

Proxmox:

timedatectl_proxmox

What version of Home Assistant Core has the issue?

core-2022.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

tomorrow.io

Link to integration documentation on our website

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

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

probot-home-assistant[bot] commented 2 years ago

tomorrowio documentation tomorrowio source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @raman325, @lymanepp, mind taking a look at this issue as it has been labeled with an integration (tomorrowio) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)