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
71.14k stars 29.82k forks source link

Google calendar not retrieving data from my calendar #124896

Closed yannick1203 closed 1 week ago

yannick1203 commented 2 weeks ago

The problem

I use the Google Calendar integration, but all of the sudden, my calendar is not being retrieved anymore. The error code is can see in the log files is: Error fetching <EMAIL-ADDRESS> data: Error communicating with API: Failed to parse component: 1 validation error for Event eventType value is not a valid enumeration member; permitted: 'default', 'outOfOffice', 'focusTime', 'workingLocation' (type=type_error.enum; enum_values=[<EventTypeEnum.DEFAULT: 'default'>, <EventTypeEnum.OUT_OF_OFFICE: 'outOfOffice'>, <EventTypeEnum.FOCUS_TIME: 'focusTime'>, <EventTypeEnum.WORKING_LOCATION: 'workingLocation'>])

I cannot remember that I did something in my calendar which can cause this issue. I already tried removing my account in the integration and adding it again.

What version of Home Assistant Core has the issue?

core-2024.5.0

What was the last working version of Home Assistant Core?

core-2024.5.0

What type of installation are you running?

Home Assistant Core

Integration causing the issue

Google Calendar

Link to integration documentation on our website

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

Diagnostics information

config_entry-google-23f60f5bf56ce9979c2c73ec7621c75b.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

`Error fetching <EMAIL-ADDRESS> data: Error communicating with API: Failed to parse component: 1 validation error for Event eventType value is not a valid enumeration member; permitted: 'default', 'outOfOffice', 'focusTime', 'workingLocation' (type=type_error.enum; enum_values=[<EventTypeEnum.DEFAULT: 'default'>, <EventTypeEnum.OUT_OF_OFFICE: 'outOfOffice'>, <EventTypeEnum.FOCUS_TIME: 'focusTime'>, <EventTypeEnum.WORKING_LOCATION: 'workingLocation'>])`

Additional information

No response

home-assistant[bot] commented 2 weeks ago

Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration (google) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `google` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign google` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


google documentation google source (message by IssueLinks)

allenporter commented 2 weeks ago

Please upgrade your home assistant version to a newer version that has a fix for this.

yannick1203 commented 1 week ago

This fixed it. Thanks!

allenporter commented 1 week ago

Great! Dupe of #120712