@regfixit interesting. I have nothing in my code that would do that, so I'm thinking Samsung's system is doing it. I'll look into it though.
I imagine that could be a problem if you're using it to turn a light on/off via X10 or something. Ideally you'd see the correct status in SmartThings.
Thanks for reporting the problem.
EDIT: I see the problem in my code. I'm working on it.
EDIT2: It should work now. Please let me know if you still see the problem, but I think the on/off status should persist now.