Turn a device ON/OFF