Add a proof-of-concept for switching devices on/off, refs #4