Closed ra4king closed 9 years ago
Be sure they are only added to the lists, not replace. As we may want an array fir discover and configure. Personally, I just set them at registration time.
I did the same thing as they did with discoverWhitelist by using ?=, conditional set. If a configureWhitelist property is specified at creation time, it isn't touched.
claimdevice adds the owner to both the discoverWhitelist and configureWhitelist. Since specifying an owner property when registering a device claims it, this behavior should be mirrored there.