Make part of the scene action conditional

Im sure this has been covered here, but all my searches were unsuccesful. Even after reading the famous thread covering conditional secenes.

I made a scene for getting Home through the garage. Part of the scene should always be executed, but part of it (e.g. switching a light on ) should only be carried out during the night.

What is the most effective way to accomplish this?

Thanks !

Use two scenes. Have the second one stop if it’s not night.

Another, more flexible solution is to use PLEG.

Or create the scenes using the Vera app on ios where you have AND / OR logic.

As @aa6vh said. Two scenes. One with conditional logic. Or use PLEG.

what UI are you using? you can add some lua script to a scene and have it execute commands if it is day/night