Sian-Lee-SA / Home-Assistant-Switch-Manager

Switch manager is a centralised component to handle button pushes for your wireless switches. This includes anything passed through the event bus. The component relies on switch blueprints which is easily made to allow GUI configuration of your switches and their button pushes. This helps remove clutter from the automations.
Other
222 stars 84 forks source link

Added ZHA Ikea Styrbar #147

Closed robotanik closed 1 year ago

robotanik commented 1 year ago
Sian-Lee-SA commented 1 year ago

Just rename 'release' to 'hold (released)' then I can merge.

robotanik commented 1 year ago

One annoying thing is that the device always sends a turn on command (top button) when holding the left or right button. There is no difference between this and pressing the top button in the event data. Is there a way to ignore an event by the previous event?

Sian-Lee-SA commented 1 year ago

This is an internal issue in the actual firmware (I can't wrap my head around their thinking when they designed it). As it is in the manual for the device, an end user should be aware this is the expected behaviour... Due to their coding, there's no way to differentiate the buttons because internally it acts as the top button when holding left or right... it's stupid but that's Ikea

Sian-Lee-SA commented 1 year ago

your titles are wrong.. it should be press -> hold -> hold (released)... there should be no release

robotanik commented 1 year ago

Is everything fine now for the pull?

Sian-Lee-SA commented 1 year ago

Thanks