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%:
Well, I use it for window opening, so position and buttons does opposite what they should. I found, that I am not first with this problem and it is not fixed yet https://github.com/home-assistant/core/issues/63942.
Tried to do cover template, but can’t get it to work correctly.
Heloo
I have the same problem. Where can I instert the code, in Developer Tools\template?
When I put this code, I habe an error “TemplateSyntaxError: unexpected ‘end of print statement’” in this line
set_cover_position:
- service: cover.set_cover_position
data:
position: “{{100-current_position*}}”
You sort of have to build a system on top of the original one.
This means you either need to make a change to your lovelace cards or make a template sensor that make the calculation and then just show that.
You also need to make scripts that inverse the numbers from the one you want to see and input to the ones the system actually understand.
Similar issue here… However I have few windows where I have the motor from right on the others I have it from left. So few of them works as expected others not…
On the other side with the localtuya integration always shows the real status as it is setup in the motor itself. Unfotunately localtuya doesn’t work with all my devices (some shutters are in other network which is not accessible from HA) so I have to use both integrations…