Add missing await
This commit is contained in:
committed by
rospogrigio
parent
cad31f1ffe
commit
2565074c9c
@@ -365,7 +365,7 @@ class TuyaProtocol(asyncio.Protocol):
|
|||||||
dev_type,
|
dev_type,
|
||||||
self.dev_type,
|
self.dev_type,
|
||||||
)
|
)
|
||||||
return self.exchange(command, dps)
|
return await self.exchange(command, dps)
|
||||||
return payload
|
return payload
|
||||||
|
|
||||||
async def status(self):
|
async def status(self):
|
||||||
|
Reference in New Issue
Block a user