I’m been a happy user of Philips Hue ecosystem since many year ago, and all my lights and wall switches are Hue products. Since I started HA journey I slowly migrate automation from HomeKit and Hue to HA, which all work flawlessly except for automations based on user events. Those events are short click and long click of Hue wireless switches (I have mostly Hue Dimmer Switches). In sort of works but also gives some problems:
As I understand due to the limitation of Hue api, for the same device HA can only get event once per second. This gives significant delay for short_release and long_release events.
For short_release my current workaround is to listen to initial_press, however HA sometimes miss the event so user has to press the switch 2nd time to make it work.
Those issues are not there if I configure in Hue native app, also not there with HomeKit or OpenHAB.
So my question to everybody who use Hue wireless switch: what do you do to configure the actions in HA? Any suggestion is appreciated!
I tried both event and event.XXX entity. So for a simple button press they match, both signal initial_press and short_release. For whatever reason event.XXX state changes come before events. In both cases the short_release is significantly delayed, and initial_press sometime missing. So it is not usable if I have to automate it in HA.
I think I understand what you’re saying - however the problem is not missing events, but delay of events - there is a clear 1 second delay on event bus for initial_press and short_release, hence making automation for short_release impossible.
The cause is the HA integration to Hue Bridge - I understand there is 1 update per second limitation. Not sure why but HomeKit and OpenHAB were not restricted by this.
Due to the limitation it makes Hue Bridge with wireless switch not working very well with HA.