Hi,
I can’t get the alexa Custom Skill to work. Alexa always say “The requested skill took too long to respond”.
Haaska and flashbriefing works perfectly. Can someone help me?
{
"intents": [
{
"intent": "AMAZON.CancelIntent"
},
{
"intent": "AMAZON.HelpIntent"
},
{
"intent": "AMAZON.StopIntent"
},
{
"slots": [
{
"name": "User",
"type": "AMAZON.US_FIRST_NAME"
}
],
"intent": "LocateIntent"
}
]
}
alexa:
intents:
LocateIntent:
speech:
type: plaintext
text: >
{%- for state in states.device_tracker -%}
{%- if state.name.lower() == User.lower() -%}
{{ state.name }} ist {{ state.state }}
{%- endif -%}
{%- else -%}
Entschuldigung, aber ich weis nicht wo {{ User }} ist.
{%- endfor -%}