I was already putting together the following diagram showing the flow before your second response, so I’m going to post it anyway in case it helps others.
Note that you could use the Virtual Switch ‘open’ to turn on the Xbox and the Virtual Switch ‘close’ to turn off the Xbox (that way you only have to have one Virtual Switch… but you would still have to have two routines and it’s possible for the switch to get out of sync if the Xbox is controlled elsewhere.
Is there away I can use the virtual switch to turn off the xbox, because I’ve used a virtual switch to turn and off my kitchen leds but it also turns off my xbox lol
Can you share some screenshots of the Routines or Rules that you have setup?
How is the rule/routine for the Kitchen LEDs setup? As long as you use a separate Virtual Switch for each device, it shouldn’t interact with the others.