Hello,
After upgrading to v117.0 the Tuya integration is giving errors in the log.
I have only 1 plug and the strange thing is that it still works. So not really a big issue.
I tried to remove and add the integration but I keep on having the same error.
this is the error:
2020-10-30 08:20:07 ERROR (MainThread) [homeassistant.helpers.entity] Update for switch.plug1 fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
raise exc
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/tuya/__init__.py", line 255, in update
self._tuya.update()
File "/usr/local/lib/python3.8/site-packages/tuyaha/devices/switch.py", line 16, in update
return self._update(use_discovery=True)
File "/usr/local/lib/python3.8/site-packages/tuyaha/devices/base.py", line 84, in _update
devices = self.api.discovery()
File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 188, in discovery
response = self._request("Discovery", "discovery")
File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 267, in _request
self._raise_frequently_invoke(
File "/usr/local/lib/python3.8/site-packages/tuyaha/tuyaapi.py", line 292, in _raise_frequently_invoke
raise TuyaFrequentlyInvokeException(message)
tuyaha.tuyaapi.TuyaFrequentlyInvokeException: Method [Discovery] fails 1 time(s) using poll interval 60.0 - error: you can discovery once in 600 seconds
E.