Hmip does not switch nuki

Hello dear community,

I’m new to the home assistant story and I need your help right away.

I have created an automation system that, when I switch on my hmip alarm system, should also lock my nuki front door lock at the same time.

However, the automation does not work as intended.

If I lock the nuki, for example using a lamp, the lock works perfectly.

The nuki lock works perfectly in all, but not with the automation of the arming of the alarm system.

Who maybe has a solution?