I’ve been reading up on triggers and wanting to know what is the best practice to use in automations. I’m going to use a basic example to explain.
As a trigger I have one on/off switch.
The automation triggers in the on position.
The condition is in between time 6pm-8pm
Action switch on a light.
This works as expected if the condition time is already in between 6pm-8pm.
However if the switch is on and the time is not in between 6pm-8pm then it wont work unless the switch is re-toggled in between 6pm-8pm for it to work.
The trigger is working as it should (I know) but how do you get around these situations?
I can probably get it to work if I automate a re-toggling of the switch and stop it once the automation ends but i’m sure this is not the most effective way to do something this simple.
I tried to set the condition as a trigger but within the gui I could not see how to input in between times.
I was hoping that once triggered it waits until the conditions are met for it to complete its automation.
What do you guys do in this situation? hoping I have provided enough info.
Thanks in advance.
3 posts - 3 participants