I have a PIR that thinks it’s a door sensor and therefore reports Opened & Closed. (but that’s not the problem). In Smartthings using Notify Me When, all works fine, I can use ‘Contact Opens’ and get Smartthings to do something. I’m trying to write a CoRE Piston to do the same type of thing however cannot figure out what comparison to use and what value to check for. Opened & Closed don’t work and return False. I’m sure this is very simple, I’m sure someone knows what value I should be checking for.