-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
After upgrade to 2022.11.1 google calendar starttime is an hour earlier #81527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) google documentation |
Hello, |
Same issue here. |
Idem. |
Hello |
On top of the mentioned issue, I'm also facing the issue the the calendar in HA is not getting updated anymore... I've removed events from google that remain visible/present in HA calendar... |
I am having the same issue of calendar offset, here’s what I have identified so far:
|
Same here seemed to break with the update to 2022.11.0 was correct the day before I upgraded. Seems to report correctly with any new event added but incorrectly with existing events |
made a new recurring appointment, but that works correctly indeed, the same as a new single event. It's just the old already planned (in my case) recurring events. I can confirm it's not DST end, as the events on monday - thursday all went fine, only after I Installed 2022.11.1 yesterday the issue began. |
Calendar had a large rewrite to sync and serve from local so that's definitely the issue. Wasn't a breaking change, but a bug here. Thanks for the reports. |
Due to some other issues, I've just restored my 2022.11.0 backup, checked the calendar and it was still the same. Proceeded to restore my 2022.10.5 backup and my calendar entries are now showing the correct time. (I previously tried disabling the calendar(s) restarting HA 2022.11.1 and then reenabling them which didn't solve the issue) |
Can someone give an example timezone this happens? Also curious if home assistant is in the same time zone or different time zone from the Google calendar timezone. Having some of the raw debug from |
I am in GMT - HA is set to GMT and Google shows the correct times when logging in directly |
I'm on GMT+1, set both in Google calendar ( Central European Time - Amsterdam) and in HA (Europe/Amsterdam) and I see the issue. |
i am in GMT+1 HA is set to GMT+1 and google GMT+1 |
I'm in GMT+1 zone, both in Google an HA. |
@realthk thanks that helps. I realize the local calendar event data is also stored in Thank you all, hopefully we can get a quick fix out once I can reproduce. |
Seems like the most likely thing for me to explore to reproduce is for a recurring event that crosses the daylight savings time boundary. |
Exactly, @allenporter. The file from Google in .storage is a mess for human eyes, events with the same name occuring several times, I have to find the latest in effect, but it seems the problem is with crossing the DST boundary with a recurring event indeed. For example, from my screenshot above "Isti" should be at 13:00, and because it was created in september, still during DST, it got GMT+2, which isn't valid anymore, after DST has ended, it should be GMT+1 now (but do not understand then why it works fine for those who restore HA version 2022.10.x...
|
Thank you for confirming, i'll get started on trying to reproduce this with a test and working on a fix. No other data needed from users now, thank you all for your patience. |
Also to answer your question about |
I've reproduced the bug in the underlying |
Wow that was fast thanks a lot. Great work. |
Thanks a lot for all the work! |
Indeed - many thanks for a good job. B.t.w. I love the Google Agenda solution and use it for many things. I find it one of the most handy and amazing things in my HA setup. |
The problem
Google calendar start time seems to have become an hour earlier, while the calendar entry has not changed, after installing 2022.11.1
What version of Home Assistant Core has the issue?
core-2022.11.1
What was the last working version of Home Assistant Core?
core-2022.10.6
What type of installation are you running?
Home Assistant OS
Integration causing the issue
google calendar
Link to integration documentation on our website
https://www.home-assistant.io/integrations/google/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Time jumped an hour after installing 2022.11.1, however, release notes don't mention a breaking change.
I copy the attribute into a template sensor (see yaml snippet) and this show the change to an hour earlier:

Also in developer tools the time is an hour earlier then the actual calendar entry:
{{state_attr('calendar.alarm', 'start_time')}}
Result type: string
2022-11-07 05:30:00
The text was updated successfully, but these errors were encountered: