rstrouse / ESPSomfy-RTS-HA

Control your somfy shades in Home Assistant
The Unlicense
121 stars 9 forks source link

Group ignores "Invert Commands" #76

Open Akuka opened 1 month ago

Akuka commented 1 month ago

Hello, I have a room with two shades ("Drapery") - both of the with the "Invert Commands" checkbox true I created a group with both of them (as they are on the same window) and I checked the "Invert Commands" checkbox on the group as well It works great on the http://espsomfyrts.local/ web ui, it looks like the HA ignores the "Invert Commands" - so I guess the issue is in this repo It looks like the indication (of close/open) is ok, only commands are not inverted as they should be

Screenshots: image

image

image

rstrouse commented 1 month ago

I just tested this from a group with the command invert set. When pressing the down button I witnessed an up command from the radio and when pressing the up command I got a down command from the radio. It is inverting the commands.

Is it closing when you try to open and opening when you try to close but only from the group in HA?

Akuka commented 1 month ago

Is it closing when you try to open and opening when you try to close but only from the group in HA?

Yes I can try to shoot a video if you like

rstrouse commented 1 month ago

Uncheck the invert commands on just the group. Do these operate as expected individually from HA?

Akuka commented 1 month ago

Uncheck the invert commands on just the group. Do these operate as expected individually from HA?

I have tried it, nothing really changed (same behavior)

Akuka commented 1 month ago

https://github.com/user-attachments/assets/9a5f62ed-cd60-4c94-83f9-272014e0d1aa

https://github.com/user-attachments/assets/01fed158-05e8-4c87-87e0-d58e73eb3382