This isn’t my question, but I saw it on Reddit and think its a bug. A user was unable to add any statements to his “then” clause. He posted a screen shot of his piston and what it looks like to me is that the cause is that he has a two conditions, but there is no “and” or “or” statement in the condition block. I have no idea how this could have happened and I cannot replicate it.
Here is the thread. https://www.reddit.com/r/SmartThings/comments/846vrw/help_with_this_code_i_cannot_figure_out_why_i/
You’ll see the issue on line 45 of the screen shot.
Just thought it should be brought to your attention in case its a bug that could be addressed.