Tuya state reporting slow or non existent

After the Home Assistant 2021.10 update i switched to the new tuya integration and all worked well but for the past week state reporting has been slow ( 10 to 15 secs) or not at all until i flick the switch on and off a few times. There is nothing in any of the HA logs about it and tuya IOT platform API stats show no errors I have uninstalled tuya twice and tried backups from when it was working but no change.
The lights respond instantly when i switch them on or off with toggle switch in HA but then the toggle switches back to the wrong state by itself without affecting the lights.
I have no idea what is causing this but it seems to me it’s tuya and not HA.
So anyone got the same prob or any clues about what may be wrong or maybe i should just give up on tuya?? and on that note any suggestions for more reliable off the shelf (not into flashing devices) rgb/rgbw strip controllers and light/fan switches.
Hope someone can help but if not thanks for reading.

Update: just updated core to Version
core-2021.11.5 and now the problem is worse IE not updating at all at least not for the 5 mins i was watching. Also set logs for tuya to debug and get the following that is not something i know how to decipher but in case it means something to you here it is

2021-11-21 14:06:52 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf5f95c9932f59fed2cvh3: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:07:00 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf5f95c9932f59fed2cvh3: {'switch_led': False, 'work_mode': 'colour', 'bright_value_v2': 456, 'temp_value_v2': 1000, 'colour_data_v2': '{"h":240,"s":1000,"v":102}', 'countdown_1': 0, 'control_data': ''}
2021-11-21 14:07:09 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bf5f95c9932f59fed2cvh3: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:07:09 DEBUG (SyncWorker_7) [homeassistant.components.tuya.base] Sending commands for device bf5f95c9932f59fed2cvh3: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:07:10 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bf5f95c9932f59fed2cvh3: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:07:10 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bf5f95c9932f59fed2cvh3: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:07:14 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf5f95c9932f59fed2cvh3: {'switch_led': True, 'work_mode': 'colour', 'bright_value_v2': 456, 'temp_value_v2': 1000, 'colour_data_v2': '{"h":240,"s":1000,"v":102}', 'countdown_1': 0, 'control_data': ''}
2021-11-21 14:07:21 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf5f95c9932f59fed2cvh3: {'switch_led': False, 'work_mode': 'colour', 'bright_value_v2': 456, 'temp_value_v2': 1000, 'colour_data_v2': '{"h":240,"s":1000,"v":102}', 'countdown_1': 0, 'control_data': ''}
2021-11-21 14:08:20 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bf597262d63363f79fo1zn: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:08:34 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf597262d63363f79fo1zn: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}, {'code': <DPCode.WORK_MODE: 'work_mode'>, 'value': <WorkMode.COLOUR: 'colour'>}, {'code': <DPCode.COLOUR_DATA: 'colour_data'>, 'value': '{"h": 345, "s": 1, "v": 1000}'}]
2021-11-21 14:08:51 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bf597262d63363f79fo1zn: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:08:53 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bf597262d63363f79fo1zn: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:08:59 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:09:04 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf597262d63363f79fo1zn: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:10:01 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:10:02 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:10:11 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe7c9e07793b09860p7kz: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:10:15 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bf4e67a4dd2aa32fe5t8a6: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:10:16 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe7c9e07793b09860p7kz: {'switch_led': True, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:11:19 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:11:25 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:11:28 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:11:28 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:11:29 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bfe7c9e07793b09860p7kz: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:11:29 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe7c9e07793b09860p7kz: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:11:39 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf4e67a4dd2aa32fe5t8a6: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:11:44 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe7c9e07793b09860p7kz: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:11:48 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe7c9e07793b09860p7kz: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:13:01 DEBUG (SyncWorker_7) [homeassistant.components.tuya.base] Sending commands for device bf4e67a4dd2aa32fe5t8a6: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:06 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bf4e67a4dd2aa32fe5t8a6: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:06 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bf4e67a4dd2aa32fe5t8a6: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:13:24 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:28 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:31 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:33 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:36 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:13:38 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': True, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:13:42 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': True, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:16:00 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:16:10 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:16:13 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:17:00 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf589e02ddc5d2a6a5hekk: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:17:06 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:17:06 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:06 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:17:07 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:15 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': True, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:17:25 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:28 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:31 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:33 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bfe931848c469ec6bbjuux: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:17:35 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:17:39 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:17:44 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bfe931848c469ec6bbjuux: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 980, 'temp_value': 1000, 'colour_data': '{"h":300,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:22:15 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bf589e02ddc5d2a6a5hekk: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:23:05 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:23:23 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}, {'code': <DPCode.WORK_MODE: 'work_mode'>, 'value': <WorkMode.COLOUR: 'colour'>}, {'code': <DPCode.COLOUR_DATA_V2: 'colour_data_v2'>, 'value': '{"h": 120, "s": 1000, "v": 1000}'}]
2021-11-21 14:23:29 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf99a43e1cae07eca80t2g: {'switch_led': True, 'work_mode': 'colour', 'colour_data_v2': '{"h":120,"s":1000,"v":1000}', 'scene_data_v2': '{"scene_num":1,"scene_units":[{"bright":0,"h":46,"s":1000,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":716}]}', 'countdown_1': 0, 'music_data': '', 'control_data': ''}
2021-11-21 14:23:29 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:23:40 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf99a43e1cae07eca80t2g: {'switch_led': False, 'work_mode': 'colour', 'colour_data_v2': '{"h":120,"s":1000,"v":1000}', 'scene_data_v2': '{"scene_num":1,"scene_units":[{"bright":0,"h":46,"s":1000,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":716}]}', 'countdown_1': 0, 'music_data': '', 'control_data': ''}
2021-11-21 14:23:43 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:24:34 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:24:56 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:24:57 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:25:12 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf99a43e1cae07eca80t2g: {'switch_led': True, 'work_mode': 'colour', 'colour_data_v2': '{"h":120,"s":1000,"v":1000}', 'scene_data_v2': '{"scene_num":1,"scene_units":[{"bright":0,"h":46,"s":1000,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":716}]}', 'countdown_1': 0, 'music_data': '', 'control_data': ''}
2021-11-21 14:25:37 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf4e67a4dd2aa32fe5t8a6: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":225,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:25:38 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf4821dd95fabb3d05cypo: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:25:40 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf4e67a4dd2aa32fe5t8a6: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":225,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:25:43 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf4821dd95fabb3d05cypo: {'switch_led': False, 'work_mode': 'colour', 'bright_value': 1000, 'temp_value': 1000, 'colour_data': '{"h":60,"s":1000,"v":1000}', 'scene_data': '{"scene_num":1,"scene_units":[{"bright":200,"h":0,"s":0,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":0}]}', 'countdown': 0}
2021-11-21 14:26:32 DEBUG (SyncWorker_7) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:36 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:37 DEBUG (SyncWorker_2) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:26:37 DEBUG (SyncWorker_3) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:39 DEBUG (SyncWorker_0) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:40 DEBUG (SyncWorker_4) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:44 DEBUG (SyncWorker_6) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:45 DEBUG (SyncWorker_5) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': True}]
2021-11-21 14:26:45 DEBUG (SyncWorker_1) [homeassistant.components.tuya.base] Sending commands for device bf99a43e1cae07eca80t2g: [{'code': <DPCode.SWITCH_LED: 'switch_led'>, 'value': False}]
2021-11-21 14:26:46 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf99a43e1cae07eca80t2g: {'switch_led': False, 'work_mode': 'colour', 'colour_data_v2': '{"h":120,"s":1000,"v":1000}', 'scene_data_v2': '{"scene_num":1,"scene_units":[{"bright":0,"h":46,"s":1000,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":716}]}', 'countdown_1': 0, 'music_data': '', 'control_data': ''}
2021-11-21 14:26:57 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device bf99a43e1cae07eca80t2g: {'switch_led': False, 'work_mode': 'colour', 'colour_data_v2': '{"h":120,"s":1000,"v":1000}', 'scene_data_v2': '{"scene_num":1,"scene_units":[{"bright":0,"h":46,"s":1000,"temperature":0,"unit_change_mode":"static","unit_gradient_duration":13,"unit_switch_duration":14,"v":716}]}', 'countdown_1': 0, 'music_data': '', 'control_data': ''}
2021-11-21 14:29:56 DEBUG (Thread-10) [homeassistant.components.tuya] Received update for device 07304453a4cf12e17f0d: {'switch': False, 'fan_speed_percent': '5', 'light': True}
3 Likes

the same situation

I have the identical situation as well. Started about a week ago, after updating the HA Core. Not sure weather it’s a coincidence or not. Still hoping it will fix itself sooner or later. I tried restoring HA to a earlier backup as well, but the problem stayed (and added the problem of a corrupt database and losing all my sensor history).

I also happened to people who didn’t change anything. (Because they either got the update a month earlier or never got it) So the fault is the Tuya IoT Cloud here. They changed something and broke their backend.

Please check my latest post about it:

Glad it’s not just me. It has been very poor lately, I only have a couple of devices due to the cloud requirement, so it’s crippling yet, but for people using a lot of Tuya devices it would have a big impact.

Same issue here, and it seems that there is no solution for this.
Not able to control my lights, sometimes it’s working and sometimes not.

This seems to have now fixed itself and the response times are super fast again !

What has been fixed exactly?
Because sometimes it is fast, and sometimes its slow…