And Yes a If statement in the Then selection is not possible, you should move then to the Conditions, that looks the same to me unles you want to Execute ActionA and If (SomeOtherCondition) Execute ActionB
but then the Start a Flow would work…
That (multiple flows) also is the way to differentiate for 3 timeslots, as with one If condition you cant have 3 outcomes… a Condition is simple true or false… But imho differentiating beween the 3 timeslots should be done with 2 casceded flows both with one condition:
Flow1 is started, And Time Before 8u00 Then Action1 Else Start Flow2
Flow2 is started And Time Before 16u00 Then Action2 Else Action3
Thanks, I manage to implement it as discussed here.
Have made flows to set Time of day variable (day evening night). It saved mind from wrapping it around the time ranges and can be used in other flows.
Then two flows to branch the logic
1. If evening :
Then Start timer
1.1 If night:
Then Start timer`
And finally the flow to react on the timer reaching zero and turning the lights off.
All in all lots of flows, but the logic is controlling two motion sensors and two different lights therefore it is quite acceptable.
I do miss condition in the else branch thought, even if it’s simple if, it would save flows from growing in numbers like now.