core: Calendar trigger not working
The problem
Calendar trigger not working
What version of Home Assistant Core has the issue?
core-2023.1.1
What was the last working version of Home Assistant Core?
Never tried before
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Automation
Link to integration documentation on our website
https://www.home-assistant.io/docs/automation/trigger#calendar-trigger
Diagnostics information
No response
Example YAML snippet
alias: Test calendar event
description: ""
trigger:
- platform: calendar
event: start
entity_id: calendar.xxx
- platform: calendar
event: end
entity_id: calendar.xxx
condition:
- condition: template
value_template: |-
{{ 'Test' in
trigger.calendar_event. summary }}
action:
- service: notify.mobile_app_MyMobile
data:
message: Test
title: Info
mode: queued
max: 10
Anything in the logs that might be useful for us?
No response
Additional information
Hello,
I’am using a calendar from the Google Cclendar integration. I correctly get my calendar events from Google, so it seems not be the problem. I am trying to activate a binary sensor when I have a calendar event with some string in the summary.
Even if delete my condition and I try to match every event present into the calendar, the automation is not launched. Even if I let the trigger with the options that are set by the UI :
platform: calendar
event: start
offset: "0:0:0"
entity_id: calendar.xxx
I never get the automation to start. Which is very annoying. Do I miss something or is it a bug ?
Regards
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 22 (9 by maintainers)
My housekeeper automation triggered perfectly the last 8 or so weeks, until it didnt this week. I didnt change anything… so one test may not tell you much, it appears to be intermittent.
@bobvandevijver FWIW, I see the same with the recycleapp integration. I think thats a bug we should report to them, as other all day events do show correctly in HA.
However, I dont think thats whats causing the automation trigger to fail, as I see it on events that have correct start and end times.
@DanDixon You might be onto something here. I’m having issues with calendar triggers as well, which originate from the Twente Milieu integration (#86602). Those event are being updated quite often, and I’ve not yet managed to get any calendar trigger working on them.