End of all day calendar event not triggered
Describe the bug
Start and end events are triggered fine with calendar events having a start and end time. Start of all day events is triggered, however end is not.
I believe it might be due to timezone: CalendarItem start and end values are date objects for all day events (no timezone information), whereas they are dateTime objects for events with start and end time (see logging below).
To Reproduce
- Create calendar events relative to start and end, debug output to system console
- Create full day event in monitored calendar and wait
- Check addon logs
Expected behavior
No response
Screenshots
No response
Example Flow
No response
Environment Information
Version: 0.64.0
Home Assistant version: 2024.5.1 Companion version: 4.0.0
Node-RED version: 3.1.9 Docker: yes Add-on: no
Node.js version: v18.20.2 arm64 linux OS: Linux 6.1.73-haos-raspi arm64
Additional context
All day event (notice it is triggered at 02:00 UTC+2 instead of midnight). No end event recorded.
4 May 02:00:00 - [info] [debug:ha_calendar_event_started]
{
payload: CalendarItem {
start: { date: '2024-05-04' },
end: { date: '2024-05-05' },
summary: 'Test ',
description: '\n',
location: '',
uid: null,
recurrence_id: null,
rrule: null
},
_msgid: '3b18dbaa016709e4'
}
Event from 10:30 to 11:00 UTC+2:
5 May 10:30:00 - [info] [debug:ha_calendar_event_started]
{
payload: CalendarItem {
start: { dateTime: '2024-05-05T10:30:00+02:00' },
end: { dateTime: '2024-05-05T11:00:00+02:00' },
summary: 'TEST2',
description: '\n',
location: '',
uid: null,
recurrence_id: null,
rrule: null
},
_msgid: 'f2a956a0a1a7eb95'
}
5 May 11:00:00 - [info] [debug:ha_calendar_event_ended]
{
payload: CalendarItem {
start: { dateTime: '2024-05-05T10:30:00+02:00' },
end: { dateTime: '2024-05-05T11:00:00+02:00' },
summary: 'TEST2',
description: '\n',
location: '',
uid: null,
recurrence_id: null,
rrule: null
},
_msgid: '947ec639977be750'
}```
This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is still an issue.
I am not seeing all day events fire at all. I have several via Google Calendar and they do not fire at start or end.