Hi,
I experienced an issue on my Homey Pro after an Advanced Flow was modified through the ChatGPT/Homey integration.
The affected flow was called “Beräkna kostnad per kWh”.
After the integration updated the Advanced Flow by adding extra cards and error-path connections (outputError), the Flow section in Homey stopped working and showed:
RangeError: Maximum call stack size exceeded
At the same time, the API temporarily returned no flows at all. After restarting Homey Pro, the flows became accessible again. The affected Advanced Flow was then restored to its previous, simpler structure, and everything returned to normal.
The flow currently reports:
enabled: true
broken: false
Could you please investigate whether the Advanced Flow API can accept and save a flow structure that passes API validation but causes the Flow UI or flow engine to hit a recursive/circular condition and exceed the call stack?
It would be helpful if the API rejected such structures before saving them, rather than allowing a configuration that can affect access to the Flow section.
Best regards,
Håkan