Hi,
Just installed and calibrated wifi “Curtain Switch-N1” on tuya app, works and shows position correctly. But on home assistant it shows reversed position, if tuya app shows 100% open, then home assistant shows 0% closed. Is it possible to reverse position?
Diagnostic shows tuya “percent_control” 100%, home assistant “current_position” 0%:
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"documentation": "https://www.home-assistant.io/integrations/tuya",
"requirements": [
"tuya-iot-py-sdk==0.6.6"
],
.......
"status": {
"control": "stop",
"percent_control": 100,
"cur_calibration": "start",
"control_back_mode": "forward",
"tr_timecon": 13,
"light_mode": "relay"
},
"home_assistant": {
"name": "Curtain switch",
"name_by_user": "Miegamojo langas",
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": "window",
"original_device_class": "curtain",
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "cover.miegamojo_langas_curtain",
"state": "closed",
"attributes": {
"current_position": 0,
"device_class": "window",
"friendly_name": "Miegamojo langas",
"supported_features": 15
},