-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide double/long press action in Home app when disabled (#143) #144
base: main
Are you sure you want to change the base?
Conversation
Bumps [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) to 9.0.2 and updates ancestor dependency [homebridge-config-ui-x](https://github.com/homebridge/homebridge-config-ui-x). These dependencies need to be updated together. Updates `jsonwebtoken` from 8.5.1 to 9.0.2 - [Changelog](https://github.com/auth0/node-jsonwebtoken/blob/master/CHANGELOG.md) - [Commits](auth0/node-jsonwebtoken@v8.5.1...v9.0.2) Updates `homebridge-config-ui-x` from 4.50.5 to 4.53.0 - [Release notes](https://github.com/homebridge/homebridge-config-ui-x/releases) - [Changelog](https://github.com/homebridge/homebridge-config-ui-x/blob/latest/CHANGELOG.md) - [Commits](homebridge/homebridge-config-ui-x@4.50.5...4.53.0) --- updated-dependencies: - dependency-name: jsonwebtoken dependency-type: indirect - dependency-name: homebridge-config-ui-x dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've tested this locally
Only issue is cached accessory not updating, which seems to be a homebridge issue?
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 |
7f50643
to
0cbdbab
Compare
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)