[APP][Pro] Flow Checker

I really prefer to have an official fix from Athom

I can only agree to that.

Next to that it looks like your code is actually doing what flow checker already does and that is to search for broken variables

No. It does more than that. For example, it also reports a Not Found: FlowCardTrigger with ID homey:zone:9919ee1e-ffbc-480b-bc4b-77fb047e9e68:dead. That’s not a broken variable :slight_smile:

Also, this code right now reports 7 broken flows (out of the 203 flows in my Homey), while your app currently only reports 2 flows with broken variables.

As I wrote, the code is actually almost a verbatim copy of the isBroken() code by AtHom. Link in my post above. Since I have not examined your broken variable logical, I’m not sure why this code detects 5 more issues, but at least it should be noted that the (slow) calls to getFlowCardTrigger(), getFlowCardCondition() and getFlowCardAction() may raise exceptions that I don’t think are in your broken variable logic.

1 Like