-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip processing bridges as deletion candidates
This removes the API version guard on the auto add/delete scan during event stream connection and instead skips to the next element in the iterator if it detects that the current iteration target is a device record that represents a bridge. We do this because we *do* want the auto-add/auto-delete routine to run on older firmware, as the delete function does feature detection on the lua libs and uses `device:offline()` as a fallback. Plus, auto add will work on all firmware versions, so this is the better UX all around.
- Loading branch information
Showing
3 changed files
with
28 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters