Lambda function

Make sure you point to alexa.yaml in your configuration.yaml by

alexa:
  intents: !include alexa.yaml

take a look here if your still having problems, I have run out of ideas.

edit: sorry, I noticed you didn’t use alexa.yaml, your configuration looks ok to me. I expected to see an error code with your end point error.

@RobDYI OK Thanks for your help. I’ll keep looking and when I find the answer I’ll post it here.

Thank you

For what it’s worth, I changed my endpoint url to be intentionally incorrect and with all green checks, it give me the same error below. Please check the url endpoint in the dev skill app to make sure its correct in your setup.

The remote endpoint could not be called, or the response it returned was invalid.

@RobDYI Well I found it, I had the end point HTTPS

I had a comma instead of a period in part of it.

Thank you for all your help, I would not have got it going without your help.

I did find I needed a HTTPS and not a Lambda function

Thanks Again

well I ran into another problem but not sure why last night I just tested the phase “where are we” and I got a answer.

today I tested and it still worked but then I asked where Cathy was and I got the same Error as before
The remote endpoint could not be called, or the response it returned was invalid.

Could it have to do with notify I’m using pushbullet

any time Iask where we are I get the right response

You can try comment out that part of the intent section to try to make it more like the working Wherearewe. I don’t use notify or cards.

LocateIntent:
 #     action:
 #       service: notify.notify
 #       data_template:
 #         message: The location of {{ User }} has been queried via Alexa.
  speech:
    type: plaintext
    text: >
      {%- for state in states.device_tracker -%}
        {%- if state.name.lower() == User.lower() -%}
          {{ state.name }} is at {{ state.state }}
        {%- elif loop.last -%}
          I am sorry, I do not know where {{ User }} is.
        {%- endif -%}
      {%- else -%}
        Sorry, I don't have any trackers registered.
      {%- endfor -%}
   #   card:
   #     type: simple

From helping you, I decided to rework my Alexa skill which you might like. Instead of calling it “home assistant”, I called it “location” and rewrote the intents so this works

Alexa, tell location of User1
Alexa, ask location of User1
Alexa, search location of User1

I will write a skill called “status” today to report sensor info.

Sounds Great, Thank you for all your help

@RobDYI Have you had any luck with the sensor status skill? I would be very interested in if you could share your configeration as I have about 8 temp sensors around the house.

I did get the location skill to work, But after she tells me the location, She says she don’t know where I am

Not sure why you get the I am sorry part. Mine is the exact same and works. You can always delete that part of the speech or write something else.

  speech:
    type: plaintext
    text: >
      {%- for state in states.device_tracker -%}
        {%- if state.name.lower() == User.lower() -%}
          {{ state.name }} is at {{ state.state }}
        {%- endif -%}
      {%- else -%}
        I am sorry, I do not know where {{ User }} is.
      {%- endfor -%}

I haven’t wrote the sensor state skill yet but I think this one fits your needs. I’ll post mine when complete.

@RobDYI Well I find why it was saying the I am sorry part, look at {%- elif loop.last -%} I copied from above

 LocateIntent:
      action:
        service: notify.notify
        data_template:
          message: The location of {{ User }} has been queried via Alexa.
      speech:
        type: plaintext
        text: >
          {%- for state in states.device_tracker -%}
            {%- if state.name.lower() == User.lower() -%}
              {{ state.name }} is at {{ state.state }}
            {%- elif loop.last -%}
              I am sorry, I do not know where {{ User }} is.
            {%- endif -%}
          {%- else -%}
            Sorry, I don't have any trackers registered.
          {%- endfor -%}

And I got the Status of my sensors for now, when ever you get yours done please let me know.

Thanks for all your help, I learned a lot the last few days.