Updated to include on/off switch and request to power off device