Problems turning a light off with automations

Hi guys,

My aim was to have two lights come on if during a certain time period in the day my wife comes home (tracked by phone). This worked wonderfully.

I then wanted to set that those same lights will turn off again if my wife during a certain time period in the day leaves again.

I have set the “off” automation in the same way and set the control to “off” but for some reason they do not turn off.

Am I doing something wrong?

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.