Skip to content

Commit 9710aae

Browse files
steverhoadesLandrash
authored andcommitted
Documentation for Launch Request support (home-assistant#3104)
1 parent 47914a5 commit 9710aae

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

source/_components/alexa.markdown

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,29 @@ intent_script:
192192

193193
Now say `Alexa ask homeassistant to run <some script>` and Alexa will run that script for you.
194194

195+
### {% linkable_title Support for Launch Requests %}
196+
There may be times when you want to respond to a launch request initiated from a command such as "Alexa, Red Alert!".
197+
198+
To start you need to get the skill id:
199+
200+
- Log in to [Amazon developer console][amazon-dev-console]
201+
- Click the Alexa button at the top of the console
202+
- Click the Alexa Skills Kit Get Started button
203+
- Locate the skill for which you would like Launch Request support
204+
- Click the "View Skill ID" link and copy the ID
205+
206+
The configuration is the same as an intent with the exception being you will use your skill ID instead of the intent name.
207+
```yaml
208+
intent_script:
209+
amzn1.ask.skill.08888888-7777-6666-5555-444444444444:
210+
action:
211+
service: script.turn_on
212+
entity_id: script.red_alert
213+
speech:
214+
type: plain
215+
text: OK
216+
```
217+
195218
## {% linkable_title Giving Alexa Some Personality %}
196219

197220
In the examples above, we told Alexa to say `OK` when she successfully completed the task. This is effective but a little dull! We can again use [templates] to spice things up a little.

0 commit comments

Comments
 (0)