Fixed string bug. Snip.
Testing changes with some real switches and a pi.