Search code examples
ioshomekit

HomeKit - Delete Accessory from Room


I am creating an app using HomeKit. I am able to add and assign an accessory to the room. how you can eliminate one accessory from the room?


Solution

  • Please read the documentation, I have never used HomeKit but it looks like you use the home object to add and remove them.

    HomeKit Framework Reference