nklerk / nl.nielsdeklerk.log

3 stars 3 forks source link

Using Simple log from HomeScript #15

Open johanstalnacke opened 2 years ago

johanstalnacke commented 2 years ago

Hi,

Tried adding som text to the log from a homey script. Like this:

simpleLog("blaha");

async function simpleLog(logText) { await Homey.flow.runFlowCardAction({ "uri": "homey:app:nl.nielsdeklerk.log", "id": "Input_log", "args": [ { "name": "log", "type": "text", "placeholder": logText } ] }); }

I get an entry in the log, but only with the text "undefined". Any idea why?

Thanks!