Fix intent component initialisation (#36064)

The intent component expect this method from every module that is called intent.
Fixes #35522
This commit is contained in:
Jörg Thalheim 2020-06-08 04:45:34 +01:00 committed by Paulus Schoutsen
parent 517159dc4e
commit 5d77eb1839
1 changed files with 10 additions and 0 deletions

View File

@ -40,6 +40,16 @@ def async_setup(hass):
hass.http.register_view(AlexaIntentsView)
async def async_setup_intents(hass):
"""
Do intents setup.
Right now this module does not expose any, but the intent component breaks
without it.
"""
pass # pylint: disable=unnecessary-pass
class UnknownRequest(HomeAssistantError):
"""When an unknown Alexa request is passed in."""