keatontaylor / alexa-actions

A README and associated code to get actionable notifications setup for Alexa devices.
GNU General Public License v3.0
399 stars 187 forks source link

Script for the ResponseSelect action #144

Closed flow1990 closed 1 year ago

flow1990 commented 1 year ago

Hey, is it possible to see the script for the option if alexa gets an select input as answer? I am trying and trying but can not get it tot work...

thanks

DEADSEC-SECURITY commented 1 year ago

Is this what you want? https://github.com/keatontaylor/alexa-actions/blob/4def48ebe2cc0e1cdcba138dd30150c12d34de59/skill-package/interactionModels/custom/en-US.json

flow1990 commented 1 year ago

No I mean for the „ media_player.select_source“ you are using in the Advanced example. Isn‘t this a script?

DEADSEC-SECURITY commented 1 year ago

Can you please elaborate on the issue? I don't get what youre referring to. Maybe some code? Error messages? Logging?

DEADSEC-SECURITY commented 1 year ago

@flow1990

flow1990 commented 1 year ago

Where is „media_player.select_source“ coming from?

DEADSEC-SECURITY commented 1 year ago

Where do you see that? @flow1990 Dude for me to be able to help you, you need to explain things not ask stuff with no context. I wish I could read minds but I cant yet so please explain stuff properly.

flow1990 commented 1 year ago

I am sorry for me this was clear. In the Wiki in the „Advanced festures“ section in the last example where „AnswerSelect“ is explanined. You use

as I understand it there is a Script called „media_player.select_source“ and I would love to see this script.

DEADSEC-SECURITY commented 1 year ago

Thats not a script. Thats the media_player integration you need from HACS.

select_source is just a placeholder for the actual value you need.

Check this part of the wiki and let me know if it fixes your issue https://github.com/keatontaylor/alexa-actions/wiki/Home-Assistant-Talking-to-Alexa-(The-Script)

flow1990 commented 1 year ago

I got it thank you so much for your help and patience!