Hi,
I want to integrate a philips hue wall switch into my setup, and can’t get it to work properly. The Wall switch is connected to my hue bridge, which is integrated into home assistant.
However, when I press the the button connected to the wall switch (or shortcut the two wires) i get a “initial_press” event only in 90% of the cases, and one second later I get an “short_release” event, even if i keep the button pressed. If I release the button later, I get another “initial_press” followed by a “short_release” a second later. I don’t get any long press events at all.
Am I doing something wrong? Is this as design (I’ve seen other talk about long press automations here though). Any help is appreciated.
Ok, I have partially solved this: during registration in the hue app, there is a button to change the switch type. The default is the typical on/off switch, but you have to change that actively to rocker type switch. Easy to overlook.
I haven’t tested it properly yet, but at least I get a long release sometimes now.
I still wonder why the “initial_press” is skipped in 10% of the cases for the other switch type.
Ok, removing and adding the switch again worked as in I now get the proper long press events. There is still some buggy behaviour.
If i press the button, I get a “initial_press” and one second later the “short_release” event. However, if i short-press the button and within a second press it again, I only get one initial_press/short_release combo sent. Thus it’s not possible to do anything with double or tripple presses. Is this a known bug, or just… works as designed, so that it doesn’t get too smart 
Update: This seems to be somehow related to the philips hue integration into home assistant, as it works properly in the hue-app. If i configure “second” or “third” press actions there, they work properly.