Add missing await

This commit is contained in:
Pierre Ståhl
2020-10-03 18:57:26 +02:00
committed by rospogrigio
parent cad31f1ffe
commit 2565074c9c

View File

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