Problem with PIR sensor in Node-RED

Hello, I’ve recently bought some cheap zwave PIR sensos which I have integrated with HA. I thought I would give Node-RED a try but my sensors aren’t detecting any movement, I’m trying to get a reaction via the debug module but nothing is happening, so I’m wondering if my state node settings are wrong? I see that my events: state node in continously stating that it’s running but in my opinion it would make more sense if it was on/off.

I have inlcude a picture of my events: state settings.

Anyone got any ideas?

Try in HA UI, go to Developer Tools → States, find your device and check what it outputs and whether the state ever changes. Once you got that, check if you connected to the right entity in NodeRed. Your config should work if you attached to the proper output and the device actually works.