If you set the settings in the simulator, they’ll only work in the simulator, not in real life.
Which smart app are you using?
If you use the button controller smart app as I recommend in post one, you don’t need to install it through the IDE.
Instead, you will install it from inside the official SmartThings mobile app.
One) open the mobile app
Two) select the marketplace icon at the bottom right
Three) tap on the smart apps tab at the top right of the screen. This will display a list of available smart apps that do not have to be installed through the IDE.
Four) scroll down until you get to the “more” section and tap that.
Five) you should see the button controller smart app there. Just select it and follow the installation wizard to set up the smartenIT 3 toggle
If you’re using a different button controller app (there are several) then you might have to install that one through the IDE. Then you would need to follow the instructions in the custom code FAQ.