Update RainMachine.SmartApp.groovy

Fix Location bug. Devices sometimes are not created.