I think this is a bug with the motion sensor widget. We have a fix and are waiting to deploy the fix until after we push out Arduino integration (very soon!). Sorry about this, hang in there.
A work around that I’ve seen is using a ‘generic digital input’ for the motion sensor instead of the actual ‘motion sensor’ widget.
Hope this helps,
-B