@Steve61 the issue isn’t with HA or the LocalTuya plugin, it’s that the devices themselves don’t report their current position, only what it was last set at. If you manually move the blinds without using the position slider, then it’ll move but the percent_state attribute doesn’t change. You can see that using the Tuya API to poll the device status.
When I poll mine, it returns the following:
{
"result": [
{
"code": "control",
"value": "open"
},
{
"code": "percent_control",
"value": 19
},
{
"code": "percent_state",
"value": 0
},
{
"code": "control_back_mode",
"value": "forward"
},
{
"code": "work_state",
"value": "opening"
},
{
"code": "fault",
"value": 0
},
{
"code": "border",
"value": "up"
}
],
"success": true,
"t": *edited*,
"tid": *edited*
}
I think the attribute percent_state is supposed to show the current position but it never changes from 0. percent_control is what it was last set at manually using the slider. If you move the blinds without using the slider, it won’t update the percent_control value as that’s not the one being used to move the blinds.
I suspect that’s a bug on the firmware of the blinds controller side (i.e. Zemismart). I wish there was a way to test multiple firmware versions or go back to an older firmware.
Also, for those who found that the arrows are sometimes inactive when they should be active, if you press the stop button it should become active. I think that’s another issue created because of the absence of data on the current position, HA has to assume the position it’s currently in based on the last input.