I just updated Home Assistant to 2024.10.3 and tuya-local to 2024.10.0 and one (of 3) of my thermostat devices no longer is working. I attempted to remove and re-add the device; and still I could not add it. I've enabled debug logging and the relevant logs are below
# It finds the device and populates the config with Smart Cloud App option
2024-10-19 13:39:51.462 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Found device: {'category': 'wk', 'id': 'bfa9829c5db64123e7sklk', 'ip': 'xxxxxxxxxxx', 'local_key': 'xxxxxxxxxxx', 'name': 'Sitting room Thermostat 2', 'node_id': '', 'online': True, 'product_id': 'IAYz2WK1th0cMLmL', 'product_name': 'thermostat', 'uid': 'eu1649705492415sgqYR', 'uuid': 'af480ccd73f2708e', 'support_local': True, 'device_cid': None, 'version': None}
2024-10-19 13:39:51.462 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Adding device: bfa9829c5db64123e7sklk
...
2024-10-19 13:40:10.964 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Scanning network to get IP address for bfa9829c5db64123e7sklk.
2024-10-19 13:40:11.396 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Found: {'ip': 'xxxxxxxx', 'version': '3.3', 'id': 'bfa9829c5db64123e7sklk', 'product_id': 'IAYz2WK1th0cMLmL', 'data': {'ip': 'xxxxxxxxx', 'gwId': 'bfa9829c5db64123e7sklk', 'active': 2, 'encrypt': True, 'productKey': 'IAYz2WK1th0cMLmL', 'version': '3.3', 'name': '', 'key': '', 'mac': '', 'id': 'bfa9829c5db64123e7sklk', 'ability': 0, 'token': '', 'wf_cfg': '', 'dev_type': 'default', 'origin': 'broadcast'}}
....
# But when I submit the info it fails
...
2024-10-19 13:40:23.244 DEBUG (MainThread) [custom_components.tuya_local.device] Refreshing device state for Test
2024-10-19 13:40:23.245 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3
2024-10-19 13:40:23.454 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] Test refreshed device state: {"Error": "Unexpected Payload from Device", "Err": "904", "Payload": null}
2024-10-19 13:40:23.455 WARNING (SyncWorker_9) [custom_components.tuya_local.device] Test protocol error 904: Unexpected Payload from Device
2024-10-19 13:40:23.456 DEBUG (SyncWorker_9) [custom_components.tuya_local.device] new state (incl pending): {"updated_at": 1729341623.454579}
Steps to reproduce
No response
Expected behaviour
In previous versions, this device worked flawlessly
Additional context
No response
Confirmation
[X] I am sure this is a bug, or improvement that is well enough described that it can be implemented
[X] If this is for a specific device, the device config is mentioned above, or diagnostics are included.
[X] This is not requesting addition of a new device
Description
I just updated Home Assistant to 2024.10.3 and tuya-local to 2024.10.0 and one (of 3) of my thermostat devices no longer is working. I attempted to remove and re-add the device; and still I could not add it. I've enabled debug logging and the relevant logs are below
Steps to reproduce
No response
Expected behaviour
In previous versions, this device worked flawlessly
Additional context
No response
Confirmation
[X] I am sure this is a bug, or improvement that is well enough described that it can be implemented
[X] If this is for a specific device, the device config is mentioned above, or diagnostics are included.
[X] This is not requesting addition of a new device