#764 widget to switch devices on and off