Another approach that might give a bit of flexibility and easier maintenance if, for example, you wanted everything off except a hall light or night light, would be to define a scene with the desired lights, get them exactly how you want when you leave, then capture that scene. You would then be able to check whether that scene was active to see f everything is right, or simply activate that scene and everything would become as you want it. If you changed your mind how you want things to be, just turn lights on and off & recapture the scene.
Thats works, in combination with the app "Switch Bindings app for Hubitat" (Bind "All Lights GROUP" to "ALL OFF Led") for switching the LED in the ALL OFF button.
I will give it a try, thx for the tip.