Turning AC off when SmartThing device is switched off