Skip to content

device/!device example is confusing #17

Closed
@bschlenk

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?

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions