Add missing await
This commit is contained in:
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):
|
||||
|
||||
Reference in new issue
Block a user