Return state in tornado_led example