The problem
Trying to add a full day event by automation, both start and end date is required. Using a template, setting a date from a sensor, adding this to both fields.
Tried by setting date manually, same result.
Then receiving this:
Expected minimum event duration of 0:00:01 (2025-11-12, 2025-11-12). Got {'type': 'execute_script', 'sequence': [{'action': 'calendar.create_event', 'data': {'summary': 'hhh', 'start_date': '2025-11-12', 'end_date': '2025-11-12'}, 'target': {'entity_id': ['calendar.xxx']}}], 'id': 439}
Only solution I found is using the time and date fields, adding "00:00:01" after the template. But this does not create a full day event.
Expecting this to give same result as when adding event manually.
What version of Home Assistant Core has the issue?
2025.11.1
What was the last working version of Home Assistant Core?
Unknown, first try now
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Local calendar
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
action: calendar.create_event
metadata: {}
data:
summary: Test
start_date: "2025-11-12"
end_date: "2025-11-12"
target:
entity_id: calendar.xxx
Anything in the logs that might be useful for us?
websocket_api script: Error executing script. Invalid data for call_service at pos 1: Start and end dates must both be specified @ data[<dates>]
websocket_api script: Error executing script. Invalid data for call_service at pos 1: Expected minimum event duration of 0:00:01 (2025-11-12, 2025-11-12)
Additional information
No response
The problem
Trying to add a full day event by automation, both start and end date is required. Using a template, setting a date from a sensor, adding this to both fields.
Tried by setting date manually, same result.
Then receiving this:
Expected minimum event duration of 0:00:01 (2025-11-12, 2025-11-12). Got {'type': 'execute_script', 'sequence': [{'action': 'calendar.create_event', 'data': {'summary': 'hhh', 'start_date': '2025-11-12', 'end_date': '2025-11-12'}, 'target': {'entity_id': ['calendar.xxx']}}], 'id': 439}Only solution I found is using the time and date fields, adding "00:00:01" after the template. But this does not create a full day event.
Expecting this to give same result as when adding event manually.
What version of Home Assistant Core has the issue?
2025.11.1
What was the last working version of Home Assistant Core?
Unknown, first try now
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Local calendar
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response