What is the Alexa Smart Home API?
The Alexa Smart Home API is required by Alexa to control your Home Assistant.
To enable it, add this snippet to your configuration.yaml
file, then restart Home Assistant.
Step by step tutorial
This tutorial refers to Home Assistant OS and Home Assistant Container, if you have a different kind of install (Supervised or Core), chances are you already know how to edit your configuration.yaml
😊
Step 1 - Install the File Editor addon
Log into your Home Assistant, click on Supervisor in the sidebar, select Add-on Store and then click on File editor.
Step 2 - Start the File Editor addon
After you have installed the File editor addon, enable the Show in sidebar option, then click on the start button.
Once you've opened File editor, click on the folder icon in the top left corner, then click on the configuration.yaml
file.
Step 3 - Edit configuration.yaml
Add the following text at the bottom of the file, then save it with the red save button at the top.
Be mindful of the indentation, YAML is pretty particular about it.
Step 4 - Restart Home Assistant
You're almost done: select Configuration in the sidebar, then scroll down and select Server Controls, click on Restart and finally confirm you want to restart.