I'm pulling my hair out trying to get this weeks events in to esphome, I’ve followed examples from the fourm and the same error occurs
alias: Fetch Calendar Events
description: ""
triggers:
- minutes: /10
trigger: time_pattern
actions:
- target:
entity_id: calendar.house
data:
duration: "168:00:00"
response_variable: events
action: calendar.get_events
- target:
entity_id: input_text.calendar_events
data:
value: "{{ events | to_json }}"
action: input_text.set_value
When running the get_events action i get:
Script does not support 'response_variable' for service 'response_variable' which does not support response data.. Got {'type': 'execute_script', 'sequence': [{'target': {'entity_id': ['calendar.house']}, 'data': {'duration': '168:00:00'}, 'response_variable': 'events', 'action': 'calendar.get_events'}], 'id': 213}
When running the automation, the trace responds "Error: Script does not support 'response_variable' for service 'response_variable' which does not support response data. "