Conditional Automation

oops.

I was going by the comments of the post not the code in the code block.