You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Bumping this again. The isBroken() promise for flows in webApi v3 still doesn't work properly.
If the call fails it will mark a flow as isBroken while it actually is not.
In flowchecker i'm using this call and it actually gives a lot of false positives.
I got these flows from people which were marked as broken:
Some flows which are marked as broken while they are not broken:
asyncgetApiData(){this.log(`[getApiData] Setting API_DATA`);awaitthis._api.flow.connect();awaitthis._api.flowtoken.connect();awaitsleep(2000);// Fill all cachesthis.API_DATA.FLOWTOKENS=Object.values(awaitthis._api.flowtoken.getFlowTokens().catch(e=>{console.log(e);return{}}));this.API_DATA.FLOWS=Object.values(awaitthis._api.flow.getFlows().catch(e=>{console.log(e);return{}}));this.API_DATA.ADVANCED_FLOWS=Object.values(awaitthis._api.flow.getAdvancedFlows().catch(e=>{console.log(e);return{}}));this.API_DATA.FOLDERS=Object.values(awaitthis._api.flow.getFlowFolders().catch(e=>{console.log(e);return{}}));this.API_DATA.SCREENSAVERS=this.appSettings.HOMEY_VERSION==='Homey2023' ? [] : awaitthis._api.ledring.getScreensavers().catch(e=>{console.log(e);return[]});this.API_DATA.APPS=Object.values(awaitthis._api.apps.getApps().catch(e=>{console.log(e);return{}}));this.API_DATA.VARIABLES=Object.values(awaitthis._api.logic.getVariables().catch(e=>{console.log(e);return{}}));this.log(`[getApiData] Setting API_DATA - data length:`,Object.keys(this.API_DATA).length);}
Hi,
Bumping this again. The isBroken() promise for flows in webApi v3 still doesn't work properly.
If the call fails it will mark a flow as isBroken while it actually is not.
In flowchecker i'm using this call and it actually gives a lot of false positives.
I got these flows from people which were marked as broken:
Some flows which are marked as broken while they are not broken:
The text was updated successfully, but these errors were encountered: