thenewwazoo / homebridge-lutron-caseta-leap

Homebridge support for Lutron Caseta Smart Bridge 2
Apache License 2.0
82 stars 28 forks source link

Hide double/long press action in Home app when disabled (#143) #144

Open dominick-han opened 11 months ago

dominick-han commented 11 months ago

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)

thenewwazoo commented 11 months ago

I thiiiiiiink it’s a HomeKit issue, where characteristic existence/absence is immutable after instantiation (but I’m not an authority)

dominick-han commented 11 months ago

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?

donavanbecker commented 6 months ago

@dominick-han thoughts on #157