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?
Please read the documentation, I have never used HomeKit but it looks like you use the home object to add and remove them.