|
@@ -598,6 +598,8 @@ class TuyaLocalDevice(object):
|
|
|
entity.async_schedule_update_ha_state()
|
|
entity.async_schedule_update_ha_state()
|
|
|
if self._api_working_protocol_failures == 1:
|
|
if self._api_working_protocol_failures == 1:
|
|
|
_LOGGER.error(error_message)
|
|
_LOGGER.error(error_message)
|
|
|
|
|
+ else
|
|
|
|
|
+ _LOGGER.debug(error_message)
|
|
|
|
|
|
|
|
if not self._api_protocol_working:
|
|
if not self._api_protocol_working:
|
|
|
await self._rotate_api_protocol_version()
|
|
await self._rotate_api_protocol_version()
|