A request to add an accessory to a particular home.
- iOS 13.0+
HMAdd instance describes an accessory that your app should add to a home. HomeKit calls your home manager delegate’s
home method with a request.
Use the request’s
accessory properties to obtain a token by negotiating with the accessory outside of HomeKit. If the
requires property is
true, also prepare a setup payload URL. Then create a setup payload with either the
make method. Complete the request by calling the
add method on the request’s