That is right, but at the other end, how often does that happen, and how big is the problem than? It’s a choice, what is the problem, having 4 flows for this problem, it’s all about your choice.
Just seemed that there might be a more simplistic way to manage repeat actions without having a time check run every 30mins! (or two if i need two flows)!
You can do the solution of Osorkon and instead of turning the lights on or off just set a boolean and let the change of the value be the trigger for the flow to turn off or on the device, this will not turn the device off or on every 30 min.
So the above does seem to work but I set up a notification and it’s getting triggered every 30mins (I guess as expected)
What I’d like to ensure its that I’m not sending duplicate commands over the network / internet when unnecessary - how can I confirm this?
When you’re in the “Then…” section have set up a notification for “Turn on” and “Turn off”, then of course you will receive a notification every half hour.
In the time between 4:00 - 8:30 and 16:30 - 23:30 you will get a message that the Virtual Button has been turned on every half hour, in the remaining time that the Virtual Button has been turned off.
You can solve that problem with more flows and/or using variables, but that is not what you want.
It’s just a question of what is more important to you, to save system resources by triggering the flows only when they are needed, or a better overview of the flows.
Maybe it would be possible to realize your requirements via a script, but I have absolutely no knowledge of that.
Well yes and no, the more or’s the more complex and the higher probabilities on errors…
I find it better to maintain when you have smaller bits instead of one large chunck… at least in programming, the same principle I think is regarding the cards.