From 659152be2e535cc56df3887d7a655c02f5b4cad5 Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Thu, 8 Dec 2022 23:08:37 +0100 Subject: [PATCH] * add more guidance on how to call --- main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/main.js b/main.js index 6defa43..cf4f4f0 100644 --- a/main.js +++ b/main.js @@ -79,6 +79,7 @@ function startAdapter(options) { err && adapter.log.error('Cannot control ' + id + ': ' + err); if (err && noFields) { adapter.log.warn(`Please make sure to provide a stringified JSON as value to set relevant fields! Please refer to the Readme for details!`); + adapter.log.warn(`Allowed field keys are: ${Object.keys(fields).join(', ')}`); } }); }