Alexa configuration help (SLOVED!)

Hi,

I am trying to configure HA with Alexa custom commands, I followed this guide:

https://home-assistant.io/components/alexa/#i-want-to-build-custom-commands-to-use-with-echo

I am using NGINX reverse proxy, I configured all the intents at the Amazon dev console and in the HA configuration file, but when I ask Alexa I get the following message: “This intent is not yet configured within Home Assistant”

I also tried a simple configuration:

alexa:
  intents:
    HelloIntent:
      speech:
        type: plaintext
        text: "Hello world"

but I get the same error message, any help will be appreciated

EDIT:

The issue was actually the “alexa:” in my config file which was included in the main config :blush:

Thanks!

Thank you for the info. I have the same problem but I don’t understand what you mean with the main config section.

I split my configuration files, so I have an “alexa.yaml” file and my mistake was that I used “alexa:” which was actually suppose to be in the “configuration.yaml” file

example:

configuration.yaml:

alexa: !include alexa.yaml

alexa.yaml:

intents:
  WhereAreWeIntent:
    speech:
      type: plaintext
      text: >
        {%- if is_state('group.g_shai_tracker', 'home') and
                 is_state('group.g_alina_tracker', 'home') -%}
            You are both home, you silly
          {%- else -%}
            Alina is at {{ states("group.g_alina_tracker").replace('_', ' ')}}
            and Shai is at {{ states("group.g_shai_tracker").replace('_', ' ')}}
          {% endif %}

Perfect, thank you very much, now I understand. I don’t get why this isn’t working. I will try with Haaska.