Comments (5)
Thanks for the request! I actually tried implementing this already and screwed it up 😅 With some refactoring it shouldn’t be too hard to do, the programmer would need to distinguish between a communications failure and a valid exception object, and remove (or not insert) the accessory. Right now creating an accessory either defers setup in a synchronous constructor and adds the accessory or throws early. There’s no path at the moment to defer adding the accessory. Hopefully that helps anyone who might feel like picking this up. I doubt I’m going to get to it soon.
from homebridge-lutron-caseta-leap.
By no means is this an "urgent" or even "important" feature. Its rather trivial to remove a cached accessory this is more of a pie in the sky wishlist item. My other enhancement is more of an ask than this is. I will close this enhancement to clear the queue.
from homebridge-lutron-caseta-leap.
Gonna re-open this since it's still a valid request, and anyone who wants to contribute can pick this up. :)
from homebridge-lutron-caseta-leap.
My most recent commit reduces this feature request to the problem of cache invalidation. To wit, how do we know that an accessory has truly been removed, and not that we simply have not discovered it yet?
from homebridge-lutron-caseta-leap.
I'm going to close this as, effectively, won't-fix. Removing devices is very likely to be an exceptionally rare operation, and there's an established path for removing cached accessories that does the job, even if it's a bit ugly.
from homebridge-lutron-caseta-leap.
Related Issues (20)
- Expose Light Switch As Stateless Buttons HOT 1
- Memory Leak associated with Lutron plug-in HOT 14
- Ra3 Bridge connection - Crashes homebridge upon booting HOT 2
- Bridge loses pico functionality if the hub is reconnected to the network HOT 2
- Support for Wall/Plug-in Dimmers and Switches HOT 1
- Occupancy sensor never clears if more than one in a room HOT 2
- [Lutron] Could not connect to discovered hub: HOT 2
- Picos Attached to Range Extender No Longer Working? HOT 1
- SSL error when trying to associate a bridge HOT 6
- MaxListenersExceededWarning In Log HOT 1
- Can't Connect to Smart Bridge HOT 1
- Single press latency if both double press and long press are disabled. HOT 4
- platform.ts#L225 - bridge.setMaxListeners(125 * this.secrets.size); HOT 2
- Support for Pico paddle remotes: PJ2-P2B-GWH HOT 3
- Connects to RadioRA3 but fails to run HOT 1
- Question: Support for 4 button -P01 Pico? HOT 6
- Homebridge stops working when LEAP plugin enabled HOT 5
- Devices not showing up in HomeKit HOT 4
- Just a question before a purchase... or maybe more. HOT 4
- Accessories not appearing in Homekit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-lutron-caseta-leap.