When you go to bed and plug your smartphone to the charger, turn off the lights with your iotty device.
This Trigger fires every time your Android device is plugged in.
This action sends a command to one of your iotty Smart Switches.