let setupRequest = HMAccessorySetupRequest()
setupRequest.homeUniqueIdentifier = house.uniqueIdentifier
setupRequest.suggestedRoomUniqueIdentifier = house.rooms.first?.uniqueIdentifier
setupRequest.suggestedAccessoryName = "check gentle"
let hmSetupManager = HMAccessorySetupManager()
hmSetupManager.performAccessorySetup(utilizing: setupRequest, completionHandler: { outcome, error in
print("outcome:(outcome)")
print("error:(error)")
})
I exploit HMAccessorySetupRequest and set different house.
However the accent alaways add to major house.
Why?