@zsarnett wrote:
Background
I have the Google Calendar Integration set up in my Home Assistant Configuration:
google: client_id: <client_id> client_secret: <client_secret>
I set up my Dev Console for Google and added the Google Calendar API. Everything worked for pulling in the data. It created the
google_calendars.yaml
perfectly. I was able to see my calendar, which had an All Day event for 3/26/2020. The sensor said it was on and the attributes were correct for that event.I then wanted to be able to create an event from the UI. So I created 2
input_text
entities and 1input_datetime
withhas_date: true
andhas_time: false
as I wanted it to be only All Day events.I set up a script that pulled the data from those entities using
data_template
and called thegoogle.add_event
with the corresponding data fields. Summary, Description, StartDate, EndDate.I run the script and the event shows in the Calendar I chose and I can see all the details perfectly. It was like I had created it from the Google Calendar interface itself.
Issue
From the UI, I created an event for 3/27/2020 from my Home assistant Script and as stated above it looked perfect from the Google Calendar UI. I was assuming that if I created an event for the next day, that come tomorrow the calendar sensor would show that event I created from HA. But instead, the sensor had the state of off and no details for the event.
I thought maybe it just hadn’t refresh to see the event. So I restarted HA. Same issue. State Off. So I decided to create an event from the Google Calendar UI and then restart HA. When Home Assitant restarted the Calendar sensor now showed as on for the event I created from Google…
So the issue is: The Google Calendar Integration doesn’t seem to see the events created from the HA
google.add_event
service call.Has anyone seen this, encountered this, know a way for this to work?
Glad to give any more information you may need to help me with this issue. and I appreciate any help anyone gives
Posts: 1
Participants: 1