I have successfully set up the google calendar integration following the description given here:
But when I try to add a new entity to one of my calendars or change an entity (add a name, for example), this duplicates the old entry for the calendar and the new entity is not present in under the Developer Tools->States page.
For example:
I have this (automatically generated) entry in google_calendars.yaml:
- cal_id: [email protected]
entities:
- device_id: private
ignore_availability: true
name: Private
track: true
This device works and it’s present as calendar.private on the States page.
I add another entity like this as described in the documentation linked above:
- cal_id: [email protected]
entities:
- device_id: private
ignore_availability: true
name: Private
track: true
- device_id: test
ignore_availability: true
track: true
search: test
After saving and rebooting, I end up with the original calendar appended to my change and no new entry for calendar.test in the States pages. This is the resulting google_calendars.yaml:
- cal_id: [email protected]
entities:
- device_id: private
ignore_availability: true
name: Private
track: true
- device_id: test
ignore_availability: true
track: true
search: test
- cal_id: [email protected]
entities:
- device_id: private
ignore_availability: true
name: Private
track: true
What am I doing wrong? If not in the google_calendars.yaml, where and how am I supposed to add a new entry with a search to the calendar?
Thanks!