1
0
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:
Paulus Schoutsen
2020-08-26 16:57:52 +02:00
committed by GitHub
parent b47992dba0
commit 51a63c1fc4
6 changed files with 74 additions and 204 deletions

View File

@@ -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()