Google Calendar, in addition to basic “event”, supports focusTime
, outOfOffice
, and workingLocation
.
The integration already supports create_event
action, I would like the option to add eventType
to the payload, and any required attributes for the 3 types.
This may cover the ask in Feature: Google Calendar work location, if the same data was exposed on reads.
For instance a trigger creating an Out Of Office event type (note eventType
and eventProperties
):
action: google.create_event
metadata: {}
data:
summary: Out of Office 🧑🚒
description: >-
I am out of office responding to an incident for my local Volunteer Fire
Department
start_date_time: "{{ (now()+timedelta(minutes=1)).strftime('%Y-%m-%d %H:%M:%S') }}"
end_date_time: "{{ (now()+timedelta( hours=3)).strftime('%Y-%m-%d %H:%M:%S') }}"
eventType: "outOfOffice"
eventProperties:
autoDeclineMode: "declineAll"
declineMessage: "I am out of office responding to an incident for my local Volunteer Fire
Department"
target:
entity_id: calendar.my_work_calendar
enabled: true