mirror of
https://github.com/home-assistant/core
synced 2024-08-02 23:40:32 +02:00
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:
parent
517159dc4e
commit
5d77eb1839
@ -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
Block a user