Rule & Time what to use
I want a device to switch ON and after some time (hours maybe) OFF every day twice, at certain time. For this I have a virtual switch that enables or disables this automatic functionality.
I find two option on the rules:
OPTION 1 - USING SCHEDULE
For this I create 2 rules: 1 for switching ON during at the start time of both periods, the other one for switching off at the end of both periods. The WHEN condition is the schedule 1 OR schedule 2 and on the next IF I check if the automatic trigger is set. This is how it looks like:
OPTION 2 - USING TIME BETEEN
ForthisI need only one rule where I define the period while it should be switch ON. On the WHEN condition, I check if the automatic trigger is ON. And afterwards I have an IF with the TIME BETWEEN condition. This is how it could look like:
My question is: are they both correct? I've been not able yet to test them completly.