You don’t tell us what “these” are. Assuming something HomeKit related accessory such as a HomePod, or maybe an Apple TV box, check the network vendor documentation for how to associate vLAN identities with particular Wi-Fi clients. Or the NIC, if this is an Apple TV box. Pragmatically, which room the device is located in is a display-only setting. Absent some room-specific vLAN or room-specific subnet configuration, if the device connects to any AP, it’ll work on whatever vLAN it was mapped onto, and you can set the display room to whatever you want.