Skip to content

Instantly share code, notes, and snippets.

@piitaya
Last active March 7, 2024 23:10
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piitaya/5859cedeeafe2b097053c41496825a05 to your computer and use it in GitHub Desktop.
Save piitaya/5859cedeeafe2b097053c41496825a05 to your computer and use it in GitHub Desktop.
Assist Calendar Blueprint
blueprint:
name: Assist Calendar
author: Piitaya
description: Use Assist and a calendar to schedule actions in natural language.
domain: automation
input:
calendar:
name: Calendar
description: All events in this calendar will be processed by Assist
selector:
entity:
multiple: false
filter:
domain: calendar
source_url: https://gist.github.com/piitaya/5859cedeeafe2b097053c41496825a05
mode: parallel
max: 100
trigger:
- platform: calendar
event: start
entity_id: !input calendar
action:
- service: conversation.process
data:
text: "{{ trigger.calendar_event.summary }}"
@joedzado
Copy link

Hey @piitaya I'm trying to use your blueprint on the latest version of Home Assistant, and I'm not sure what I'm doing wrong. I created an automation using the blueprint and selected my caldav calendar (Apple calendar), and then placed an event on the calendar, making sure it sync'd. But, I get zero traces to debug when the event passes.
image

@piitaya
Copy link
Author

piitaya commented Feb 27, 2023

Can you test with an event in a slightly more distant future? Looks like calendar events can take 15 min to be available for triggers.

Source : home-assistant/core#85596 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment