xZetsubou / hass-localtuya

🔹 A Home Assistant integration to handle Tuya devices locally "fork from localtuya"
https://xzetsubou.github.io/hass-localtuya/
GNU General Public License v3.0
291 stars 30 forks source link

Curtain robot #166

Closed cuongdm75 closed 3 months ago

cuongdm75 commented 3 months ago

My curtain robot is added through a mini gateway in localtuya like a charm but the it had wrong status. It report close while open and vice vesa. Please help me to fix the issue.

xZetsubou commented 3 months ago

Can you post the device diagnostic you can download it from the device page.

cuongdm75 commented 3 months ago

Let me enable debuging, at the moment please have a look at the following screenshot. While the raw attribute is Open but the status is close. Screenshot_20240314_072608_Home Assistant.jpg

xZetsubou commented 3 months ago

Are you sure you haven't invert the position? or try to check it on. Devices -> LocalTuya -> Configure -> Re-configure existing device -> choose the curtain ->>

image

cuongdm75 commented 3 months ago

No. I did not use invert position. When I checked invert option, it work correct. Thank you for your help.