GusMuche / homebridge-zipabox-platform

Homebridge plugin to Link HomeKit and the Zipabox through API request. Implementation in dynamic platform.
MIT License
5 stars 2 forks source link

Cached accessories are not deleted #16

Closed GusMuche closed 4 years ago

GusMuche commented 4 years ago

After unconfig an accessory and restart homebridge, some accessories are still viewed inside Home App but with no functionality.

Solution was to delete the cachedAccessories files.

Debug made : unregister accessories BEFORE the end of configureAccessory is not possible.

The plugin now store the accessories to unregister and wait the right moment.

GusMuche commented 4 years ago

Ok since 1.5.0