[APP][Pro] Simple (Sys) LOG - Use this app for Simple (Sys) Logging

This script (version 1.0.6) still generates incorrect error log cards for Notes and Any/All cards in advanced flows. This can be fixed by replacing the if-condition in line 164 from:

if (automaterCard.args.errorCards===true && !checkId(af.cards[cardKey], ‘homey:app:nl.nielsdeklerk.log’) && af.cards[cardKey].type != ‘trigger’ && (!af.cards[cardKey].outputError || !af.cards[cardKey].outputError.length || !(logCard = _.find(af.cards[cardKey].outputError, x => af.cards && af.cards.id && checkId(af.cards, ‘homey:app:nl.nielsdeklerk.log’))))) {

into:

if (automaterCard.args.errorCards===true && !checkId(af.cards[cardKey], ‘homey:app:nl.nielsdeklerk.log’) && (af.cards[cardKey].type === ‘condition’ || af.cards[cardKey].type === ‘action’) && (!af.cards[cardKey].outputError || !af.cards[cardKey].outputError.length || !(logCard = _.find(af.cards[cardKey].outputError, x => af.cards && af.cards.id && checkId(af.cards, ‘homey:app:nl.nielsdeklerk.log’))))) {