Switch type for Hue dimmer swich
Posted: Friday 21 April 2017 23:45
Hi,
I'm doing some integration work with the 4 button Hue dimmer switch and was wondering if there is a suitable switch type/sub-type it should be represented as in the code?
Currently I have it as general type switch, which allows me store and examine it's configuration (as it's really for the scripts I want it), but is there a better option for display and gui control purposes? Ideally, a 4 button switch
As currently the switch has to be polled, it generally only picks up the release events, but these can be long/short or hold.
Thanks,
Scott
I'm doing some integration work with the 4 button Hue dimmer switch and was wondering if there is a suitable switch type/sub-type it should be represented as in the code?
Currently I have it as general type switch, which allows me store and examine it's configuration (as it's really for the scripts I want it), but is there a better option for display and gui control purposes? Ideally, a 4 button switch

As currently the switch has to be polled, it generally only picks up the release events, but these can be long/short or hold.
Thanks,
Scott