I have a flow here that’s like a master flow for when I wake up in the morning. It is triggered by the on button on a Hue light switch. Within it I trigger another flow (“Se thermostats”) that contains logic for setting several thermostats (sub-floor heating and heat pump), based on presence (“home active” tag), time of day and week of the year. I made this as a standalone flow to be able to trigger it from several flows without conditions.
When I run the “Set thermostats” sub flow manually by itself it works flawlessly, but when I run the main flow that’s supposed to trigger it, it just causes an endless loop and the flow is disabled after 60 runs (understandably). It doesn’t matter if I run the main flow from the webapp or by pressing the button on the switch. The result is the same infinite loop.
I cannot for the life of me figure out why this would happen. Is there anything I’m missing?
Main “Awake” flow:
“Set thermostats” sub-flow in first comment (new user).

