Open dominick-han opened 11 months ago
I thiiiiiiink it’s a HomeKit issue, where characteristic existence/absence is immutable after instantiation (but I’m not an authority)
Sooo, should we add a message in the webpage saying if user enable/disables long/double click, they should remove it from cache and re-generate?
@dominick-han thoughts on #157
Only add DOUBLE_PRESS/LONG_PRESS to ProgrammableSwitchEvent's validValues when the option(s) are enabled
Tested locally on all 4 scenarios
One issue: When changing between enabled/disabled, user needs to delete the accessary cache on Homebridge web UI, then restart the bridge. User will lose existing settings
(Might look into this later)