Hey You! Thank you for reading this
The code at the end of this post is an event that i am passing to an automation. I need to get the values from “event_response” to pass them in an Delay action. When i try:
delay:
seconds: ‘{{ event_response|float }}’
I get an error:
Error rendering Küche Steckdosen ResponseDauer delay template: UndefinedError: 'event_response' is undefined
also tried things like:
seconds:’{{ event_response }}’
‘00:00:’{{ event_response }}’
The event_response_type
contents are used to trigger the automation and they work… So how i can get this 3 from the event_response
, so the Delay action understands the number in seconds?
{
"event_type": "alexa_actionable_notification",
"data": {
"event_id": "actionable_notification_kucheon",
"event_response": 3,
"event_response_type": "ResponseDuration"
}