Once you get the hang of the Basic Puzzle Making ability, you can extend it further.
This is an example of a slightly more complex action to turn on a light.
In this rule we are telling the front door light to turn on only between the hours of 5 am and 10 pm. And only then if the light level is less than 200 lumens.
This is a rule to determine if you are coming home or leaving and to turn on an inside light for you.
Using a 4in1 sensor and a micro module. There is one other rule not show here that also determine how this rule will work.
1st is a rule that uses the motion of the 4in1 sensor to turn on the outside light at the front door at night only. (A motion porch light)
This rule then determines that when the front door is opened, if the outside light is on (I would not activate this light if I was leaving from inside) then turn on the inside Living Room 3 light for me. No more bump in the night. Then turn it off again after 600 seconds.
What about the other sensor you ask? Yes the Living Room 3 off sensor helps me to determine if someone already has this light on. It would be annoying if this light was turned off after 600 seconds when someone else is using it for another reason.
So in conclusion this inside light will only turn on when I enter from outside (porch) then turn off again after 10 minutes, and only if the inside light is not already on.
This rule is useful to keep a light on at night, until there is no more motion in the room. Then after 2 minutes if there is still no motion it will turn off the light.
This rule is useful for store rooms or hallways. No more leaving a light on for long periods of time, nor do you have to fumble for a switch in the dark.