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.
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.
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?
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