Update tompd_63lw_breaker.yaml - A way to fix polling problems
My device always stopped updating in Home Assistant after about a minute or so, oddly, when I would have opened the app, it would start polling data again.
I snooped around Query Properties on API Explorer and I found this:
{
"code": "refresh",
"custom_name": "",
"dp_id": 106,
"time": 1702153606980,
"value": false
}
Apparently this command corresponds to the command "刷新上报" (Refresh report) which you can see on Tuya IoT Platform - *Project* - Device Debugging - Device Report under the same category with the Mandarin name. Apparently the mobile app sends this command when you access the device. I tested this myself, made an automation to press this button every 30 seconds and I haven't encountered any problems since.