Lock Nuki when everybody leaves the house

Hi, I’d like to make an automatization, if everybody that live in my house is out, or when the last one leaves, lock the nuki. Is it possible? I don’t know how to start it…

Thanks in advance,


Hi Albert,

Yes this is possible. Make a group of all the persons you are tracking in your house. Then create a automation. Trigger → state → group.[groupname] → from home to not_home. Action → call service - lock.lock and select the lock of the door you want to lock.


1 Like

Thank you for helping with this!! I am new to home assistant and stumbled acrossed your post!

1 Like