Check result from automation to decide next step

Hello,
I’m new to HA and need some help getting started.
So far I have used FHEM and am now in the process of migrating my automations.

When we leave the house I want to lock the terrace door using NUKI. Depending on the position of the door handle, it may not be possible to lock it. NUKI then outputs “jammed”.
I would then like to use this to send me a critical notification and close the shutters on this door.

Can anyone give me a tip on the best way to solve this?

Many thanks in advance!

Use a state trigger to detect the jammed state then do your actions.

1 Like

In a second automation or how can I do this in one automation?

Put it in it’s own automation.

1 Like