Fix intent component initialisation (#36064)
The intent component expect this method from every module that is called intent. Fixes #35522pull/36557/head
parent
9e7f516d07
commit
fbbc681ad4
|
@ -40,6 +40,16 @@ def async_setup(hass):
|
||||||
hass.http.register_view(AlexaIntentsView)
|
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):
|
class UnknownRequest(HomeAssistantError):
|
||||||
"""When an unknown Alexa request is passed in."""
|
"""When an unknown Alexa request is passed in."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue