mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00: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
9e7f516d07
commit
fbbc681ad4
@ -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."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user