Help with scene

Hello,
I want to create a scene that allows, if there is no one at home but the motion detector is triggered, to trigger an alarm.
My issue is how I can do the trigger. I can’t do if the house is empty and the sensor state changes then trigger alarm.
I tried by doing if the motion sensor state changes then I check everyone’s status (not optimal at all). I can’t use « house empty » because it’s only usable in actions. Sorry if I’m not clear ^^

Hello!

What you want to do is a trigger « When there is movement » with a condition « The house is empty ».

So currently this is not possible, we lack the condition « if the house is empty/not empty » in the actions ^^

But this is a planned development:

As a last resort, you can cheat in the meantime by using a fake MQTT device that will store 0 or 1 if the house is empty or not, and then use this device in the scenes with a « get last state » block + « continue only if » :slight_smile:

@Alexandre_MAILLOT I have some good news for you :slight_smile:

I confirm that the empty house/not empty house conditions are now live in Gladys v4.4 :slight_smile: