Need help with Google Calendar setup in my configuration.yaml file

When I check my config I keep getting an error:

Invalid config for [google]: [frontend] is an invalid option for [google]. Check: google->google->frontend. (See /config/configuration.yaml, line 18).

Odd thing is that the Google Calendar seems to be working. Below is what I have in my config.yaml for Google.

google calendar.yaml entry

google:
client_id: !secret google_client_id_calendar
client_secret: !secret google_client_secret_calendar

I have the secrets.yaml setup with the client ID and password.

What am I doing wrong?

Show what is underneath that entry too. Also please format it properly.

Here is a screenshot from my yaml file. I think the spacing is correct. I had a #comment above the google entry but just removed it to see if that was causing an issue. Still complaining about line 18

frontend: needs to be hard up against the margin. themes: ... below it should stay where it is.

Please dont paste pictures of text. Just paste and format it correctly. We cant easily copy/paste/edit pictures to help you.

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

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


google:
  client_id: !secret google_client_id_calendar
  client_secret: !secret google_client_secret_calendar

#Themes
  frontend:
  themes: !include_dir_merge_named themes

Yep. This is wrong:

#Themes
  frontend:
  themes: !include_dir_merge_named themes

Should be:

#Themes
frontend:
  themes: !include_dir_merge_named themes

This why you are getting this error:

Invalid config for [google]: [frontend] is an invalid option for [google]. Check: google->google->frontend.

The way you have it written frontend: is configured as an option of the google integration, which is not correct.

Thank you!

Is that because of the indentation I had before frontend? Assuming the logic would interpret that as part of the Google entry?

Yes that is the reason.