I recently joined HASS and I am using Home Assistant to integrate my tuya devices to connect to Apple HomeKit. All of my switches, Acs, and curtains are working fine except for 1 blind and 1 shutter.
The issue is with the real status vs the status shown on HASS and HomeKit. When these two devices are actually open, HASS and HomeKit read closed. And when they are actually closed, reads open. And this is confusing my Apple HomePod as when I say “close” it goes open, and when I say “open” it goes closed.
I tried googling some templates here and there and they did not work, probably I am doing something wrong
The name of the two devices as defined in HASS as following:
The open and closed states are bound to specific percentages. 100% is 100% open. So trying to ignore that would run into problems one way or another. You can invert the open and close commands by setting actions for those commands, but Home Assistant will keep getting it wrong when 0 or 100 procent do not match up with what home assistant expects.
It just hit me: There is one way that you might be able to reverse behavior in the user interface: an awning has reversed controls for open and closed compared to a blind. So if you change the type in home assistant between the two, the commands will probably inverse too. I do not know about the percentages though.
I really dislike that Home assistant has that different behaviour for awning (same as I dislike that 100% is open for a blind), but it just might help you. Or it could be HA incorrectly identified your device as an awning, and that is why you have this problem.
How to change the device type? My initial idea was to switch it from curtain (what is wrong) to a roller shutter. But I do not know how to change the device type.