Add missing await

This commit is contained in:
Pierre Ståhl authored and rospogrigio committed 2020-10-14 13:10:20 +02:00
1 parent cad31f1ffe
commit 2565074c9c
1 file changed
+1 -1
@@ -365,7 +365,7 @@ class TuyaProtocol(asyncio.Protocol):
dev_type,
self.dev_type,
)
return self.exchange(command, dps)
return await self.exchange(command, dps)
return payload
async def status(self):