Use a virtual switch to determine presence?

Do you see the simulated switch and simulated presence you created in Ide under devices? Don’t forget to publish it. Maybe you need to log out of you phone and back in. Here’s another link on creating virtual switch FAQ: Creating a virtual Device