Hi, I've got a motion sensor set to turn on a scene of lights when activated in a business environment. It's set for security purposes and only from sunrise to sunset. The problem I have seems simple but I can't figure it out. When we work late, the motion turns on the lights and we cat get out the door without turning them back on because of the motion sensor. I do have a command to turn the scene off after 30 minutes but I it doesn't actually turn off the lights. It's like the scene only works to turn them on and does not work to turn the off. I end up using the mobile app to manually turn off each light because the scene off command does not work. So the 2 main questions are:
1. What can I do to keep the lights from coming back on by motion if I use the wall switch?
2. Is there something about scenes that would cause a scene to only work as on and not as off for devices?
I've added a couple of screenshots. Thanks.