let setupManager = HMAccessorySetupManager()
let homeTopology = HMCHIPServiceTopology(homes: homes)
setupManager.addAndSetUpAccessories(for: homeTopology, completionHandler: { error in
if let error = error {
print(error)
}
})
when calling the function 'setupManager.addAndSetUpAccessories(for: homeTopology)', an error log occurs.
Error Domain=HMErrorDomain Code=48 "Operation is not supported." UserInfo={NSLocalizedDescription=Operation is not supported.}
Any ideas what could cause this? Is this function not working yet because it is currently beta? Or, did i use the function wrong?