Automation to set status on new app not working

Hey

I’ve set automation for when someone arrives at home and when everyone leaves

The automation rule fires as I get the notifications at the right times

But it never sets the smart things status to away or home ? Anyone any idea why ? I’ve got the rule set to ‘change this location’s mode’

Anything to do with old smart things app ? I’ve deleted that and roved rules before I did

Solved … I was setting location to away rather than security mode !