Small typos and fixes to input/output of virtual sensors

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>