send updatedps with all detected dps by default

This commit is contained in:
Martín Villagra
2021-11-28 01:46:12 +00:00
parent e292524793
commit d6e7c7dec4
2 changed files with 15 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ class TuyaDevice(pytuya.TuyaListener, pytuya.ContextualLogger):
async def _async_refresh(self, _now):
if self._interface is not None:
await self._interface.updatedps()
await self._interface.update_dps()
async def close(self):
"""Close connection and stop re-connect loop."""