Create Google Calender Event next day

Hey there,

i have following problem. I want to automaticaly create a Google Calender Event, when I scan a NFC tag. The event should be on the next day between 07:00 and 16:30 and named “Work”.

service: google.create_event
target:
  entity_id: calendar.device_automation_schedules
data:
  summary: "Work"
  in: "days": 1

Does anybody have a solution.

service: google.create_event
data:
  summary: "Work"
  start_date_time: "{{ today_at('07:00') + timedelta(days=1) }}"
  end_date_time: "{{ today_at('16:30') + timedelta(days=1) }}"
target:
  entity_id: calendar.device_automation_schedules

1 Like

Thanks mate! That was exactly what I am searched for.

1 Like