I only see one.
Hayden, it would be preferable to only use entity IDs as indicated above, here’s why: Why and how to avoid device_ids in automations and scripts
And a concrete example of where this helped: Moving from Aqara hub to Z2M advice on entity changes
As to why your automation is being disabled, it could be because the motion sensor is going unavailable. Can you show it’s history graph?