Welcome. It’s hard to read your automations since they aren’t formatted as code. Take a read here where it explains how to use code blocks.
“Sleeping” is normal for battery devices, so I presume you are using batteries instead of USB power.
I did notice a couple things though. First, for the device based automation, it’s likely your motion detector is incorrectly creating a binary entity. I am assuming you did not create binary_sensor.zooz_zse29_outdoor_motion_sensor_sensor yourself, based on the naming, and if that’s true unfortunately it’s a common problem with door & motion sensors that produce a non-existent binary sensor (not sure if it’s a software or hardware issue). The ZSE29 manual does not show it supports the Command Class Binary, and it doesn’t look like there are any options to enable it. You can confirm if you examine your zwcfg*.xml file.
For your second automation, the state trigger for entity sensor.zooz_zse29_outdoor_motion_sensor_burglar looks incorrect. Again, based on the naming, I am assuming this is the burglar notification sensor created by the device. In that case, you’re not going to get the value on for the state, you should get 8 for motion and 0 for no motion. You can verify this by going to the Developer Tools -> States page and watch the state change as motion occurs. If you want an “on/off” sensor, you can create a binary_sensor template, an example is given here using the burglar entity.
Besides the state page, you can watch the OZW_Log.txt file to see when the sensor sends events to HA.