Closed
Description
Describe Your Problem:
I'm updating an old plugin to be structured like this plugin template. The platform example has a confusing part where device is checked. However, the !device
block is dead code - the device won't ever be null in this example. In what case would we want to unregister an accessory, or know that a device that used to exist no longer exists?