Change colours associated with calendar in "Google Calendar Event" integration

I have successfully configured the “Google Calendar Event” integration. When I look at the calendar through the front-end, each of my calendars has a color associated with it. I would like to be able to change/define which color each calendar is.

Is there any way to do this?

1 Like

Also interested in this. I’ve added some of my favorite sports teams and the colors HA assigned to each team is very wrong. :rofl:

The calendar section will list each calendar in alphabetical order based on “device_id”. Open up the calendar.yaml file and add #'s in front of each device ID to order them.

  - device_id: office

would become

  - device_id: 4office

The name won’t change (although you can make changes to the name section also), so you will never see these numbers, only Home Assistant will. (or you might later on while building an automation)

Here is the color order:
Red (bright)
Green (midway between light and dark green)
Blue (almost exactly Home Assistant’s blue, little darker)
Purple (Dark)
Teal
Orange
Brown
Purple (Light)
Green (Light/neon)
Magenta
Brown/Orange

I don’t think its possible at this time to skip colors.

Where will I find the calendar.yaml file, if this is still relevant? I’ve searched my config folder and don’t see it.

I am not able to find it either. Where is the Calendar YAML file? I did a search in Windows for the file and the only thing I could find were ICS files. Is there another file that I can edit to change the calendar entities?
image

I couldn’t find the calendar.yaml either, but I went into the entities list and updated each of the Entity ID’s to change to my preferred order. For example, calendar.home could be changed to calendar.1home

1 Like