I’ve had a similar issue the last couple of days. This seemed to fix my problem:
Motion sensor Smartthings stop working