Public Member Functions | |
| None | __init__ (self, AlexaConfig smart_home_config) |
| web.Response|bytes | post (self, HomeAssistantRequest request) |
Public Attributes | |
| smart_home_config | |
Static Public Attributes | |
| string | name = "api:alexa:smart_home" |
| url = SMART_HOME_HTTP_ENDPOINT | |
Expose Smart Home v3 payload interface via HTTP POST.
Definition at line 136 of file smart_home.py.
| None homeassistant.components.alexa.smart_home.SmartHomeView.__init__ | ( | self, | |
| AlexaConfig | smart_home_config | ||
| ) |
Initialize.
Definition at line 142 of file smart_home.py.
| web.Response | bytes homeassistant.components.alexa.smart_home.SmartHomeView.post | ( | self, | |
| HomeAssistantRequest | request | ||
| ) |
Handle Alexa Smart Home requests. The Smart Home API requires the endpoint to be implemented in AWS Lambda, which will need to forward the requests to here and pass back the response.
Definition at line 146 of file smart_home.py.
|
static |
Definition at line 140 of file smart_home.py.
| homeassistant.components.alexa.smart_home.SmartHomeView.smart_home_config |
Definition at line 144 of file smart_home.py.
|
static |
Definition at line 139 of file smart_home.py.