core: negative offset from calender trigger isn’t working
The problem
Hi team!
When I set up calender-trigger with negative offset (30 minutes before the event starts), then nothing get triggered. Also the format of the negative offset is changed after putting it in (there are zeros missing).
What version of Home Assistant Core has the issue?
2022.12.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
https://www.home-assistant.io/integrations/calendar/
Diagnostics information
No response
Example YAML snippet
alias: "Kalender | Arbeitsbeginn in 30 Minuten "
description: ""
trigger:
- platform: calendar
event: start
offset: "-00:31:00"
entity_id: calendar.arbeit
condition: []
action:
- service: notify.mobile_app_iphone
data:
title: Kalender
message: Die Automation mit 31 Minuten Offset wurde getriggert.
mode: single
Anything in the logs that might be useful for us?
No response
Additional information
https://community.home-assistant.io/t/calendar-trigger-not-working/470696/7
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 41 (16 by maintainers)
Thank you, fantastic detail, I will have a closer look.
I am doing work on hardening timezone handling in all calendars and may add some diagnostics and debug information and general checks.
I found a DST handling bug which may help expose some issues here too. I also see caldav may not be getting timezones right for all day events due to always using utc.