Add in extended note for alexa integration to describe routines (#29356)

* Add in extended note for alexa integration to describe routines

Adds a block of text to describe a workaround to having to state the skill's name.

* Update source/_integrations/alexa.intent.markdown

Co-authored-by: Fletcher <me@fboyd.me>

* Update source/_integrations/alexa.intent.markdown

Co-authored-by: Fletcher <me@fboyd.me>

* Tweaks

* remove code fence

* Update source/_integrations/alexa.intent.markdown

---------

Co-authored-by: Fletcher <me@fboyd.me>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
Ciaran Jessup 2023-11-23 10:00:33 +00:00 committed by GitHub
parent 86d5e3ab19
commit 83b4a7bc16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,6 +395,16 @@ text: !include alexa_confirm.yaml
Alexa will now respond with a random phrase each time. You can use the include for as many different intents as you like so you only need to create the list once.
## Workaround for having to say the skill's name
Sometimes, you want to run script or scene intents without using the skill's name. For example, 'Alexa `<some script>`' instead of 'Alexa ask Home Assistant to run `<some script>`' because it is shorter.
You can do this by using Alexa routines.
1. Configure a routine in the Alexa app that responds to the command you want to use:
- For example, 'Alexa, turn on the dryer'.
2. Make sure this routine includes a customized action that contains the full phrase you configured in your skill:
- For example, 'Alexa, ask Home Assistant to run the dryer on script'.
[amazon-dev-console]: https://developer.amazon.com
[large-icon]: /images/integrations/alexa/alexa-512x512.png
[small-icon]: /images/integrations/alexa/alexa-108x108.png