Neat mechanic! I'd like to see more of the typing puzzles, maybe changing bits of logic step by step.
It felt like the torch responded a little too slowly to be useful, and I think mine got stuck on half brightness at some point.
Good work overall! I'd play more of this kind of game :)