A while ago, I found a way (somewhere on the forum) to display the number of times (all) flows were executed.
This was very helpful to identify flows which were never triggered (to be deleted?) and flows which were triggered too often (performance?).
However I can’t find this anymore! I believe it was a homey script or something to do inside homey developer tools…
Does this ring a bell to anyone and/or does anyone know how to get an overview of all your flows with the amount of times this flow was executed?
To answer the initial question just for future reference:
Execute the following command here: https://developer.athom.com/tools/api-playground to get the requested overview. Homey.flow.getFlows().then(f => Object.values(f).reduce((r,b)=>Object.assign(r, {[b.name]:b.triggerCount}), {}));