Google option is deprecated?

I get this in my error logs after updating to the latest HA and OS.

The 'google' option near /config/configuration.yaml:1 is deprecated, please remove it from your configuration

There is no google option near line 1. I have the google integration configured somewhere in the configuration.yaml like so:

# Google Calendar
google:
  client_id: 123456.apps.googleusercontent.com
  client_secret: nothing_to_see_here

But the first 2 lines of the configuration.yaml just show:

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

So not sure what it’s referring to…

The Google Calendar Integration has moved to a UI setup in the (Devices & Services) Integrations… New users of the Integration have to Add and Configure it there… The Config lines you have in the configuration.yaml file were imported and are no longer required to be in there… You can also look in the three dot menu to see your stored Google Calendar OAuth setup is stored in the System (So you dont have your Client secret in secrets.yaml)… this was also done in conjunction with the new Calendar Triggers for Automations :slight_smile:

1 Like

Ok, i just removed those lines from the configuration.yaml and it still shows up in integrations as part of the Google Calendar/configuration.yaml, so that’s great.

I guess it will always show up like that? Will other deprecated stuff from configuration.yaml also come under that integration (e.g. Configuration.yaml - etc etc).

Thanks,

there has been a concerted effort for sometime now to make more and more integrations setup and configurations in the UI versus a direct YAML setup to make it easier for new users… I have slowly been shrinking my configuration.yaml for some time now… I typically will comment them out for awhile then go back sometime later and remove the commented sections

1 Like