Paul, the code above is what is working for me. Are you using the classic SmartThings app or the new Samsung SmartThings app?
Hey @nattyb!
I’m still using the classic app. I probably need to keep tinkering, I’m sure I’ve had it working previously. just need to find some time!