Seems if anything's going to be flaky, it'll probably be the switch value - wonder if we can log when switches are turned off