mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Drop last bits of asyncio.coroutine (#39280)
This commit is contained in:
@@ -261,8 +261,7 @@ def async_mock_intent(hass, intent_typ):
|
||||
class MockIntentHandler(intent.IntentHandler):
|
||||
intent_type = intent_typ
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_handle(self, intent):
|
||||
async def async_handle(self, intent):
|
||||
"""Handle the intent."""
|
||||
intents.append(intent)
|
||||
return intent.create_response()
|
||||
|
||||
Reference in New Issue
Block a user