I’m losing my noodles on this one…
So i’m setting up my first Alexa using HA intents,
- I trigger an intent “Alexa, Ask home assistant where we are” (one of the demo intents)
- This triggers the “WhereAreWeIntent” in alexa which calls the intent of the same name in home assistant
- Alexa responds “This intent is not yet configured within Home Assistant.”
- HA writes in its log “[homeassistant.components.alexa] Received unknown intent WhereAreWeIntent”
- But the Intent in Alexa is called “WhereAreWeIntent” the same as in HA “WhereAreWeIntent” so it should work right?
So they are both talking to each other but the intents aren’t getting matched up. I figured it was a config issue but I’ve tried everything including stripping it back to a hello world intent in the main config.
Can someone fill me in on what im missing?
Request part of Alexas message to HA
“request”: {
“type”: “IntentRequest”,
“requestId”: “EdwRequestId.53bfa71c-6fa3-4901-aef0-6b3243d68450”,
“intent”: {
“name”: “WhereAreWeIntent”,
“slots”: {}
},
Configuration.yaml
alexa: !include alexa.yaml
Alexa.yaml
intents:
WhereAreWeIntent:
speech:
type: plaintext
text: >
{%- if is_state('device_tracker.fletch_kenzo', 'home') and
is_state('device_tracker.haylee_s8', 'on') -%}
You are both home, you silly
{%- else -%}
Haylee is at {{ states.device_tracker.haylee_s8.state.replace('_', ' ') }}.
and Fletch is at {{ states.device_tracker.fletch_kenzo.state.replace('_', ' ') }}.
{% endif %}
card:
type: simple
title: Where are We?
content: Ask Home Assistant about where everyone is