I have been trying to get the Smart Lighting SmartApps in Smartthing to work. The settings that I have are both my wife’s phone and my phone are designated as the presence sensors. When both phones are away from the house the living room light is supposed to turn on but only if this happens between sunset and sunrise. Attached are the screenshots of this automation. The problem I have is that the automation turns on the light in the morning when we both leave the house and not just between sunset and sunrise. I tracked this app for a couple few days and it consistency does turns on the light after the last one of us leaves the house even when it is not between Sunset and Sunrise. What am I doing wrong?