From d5f3eafe08d9669e2fa88d55b65906a858107bf1 Mon Sep 17 00:00:00 2001 From: Dennis Hinzpeter Date: Sat, 27 Mar 2021 13:23:17 +0100 Subject: [PATCH] bugfix sleepModeAktiv brightness and brightness --- pixelit/core.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixelit/core.js b/pixelit/core.js index 94aca3b..eb228c3 100644 --- a/pixelit/core.js +++ b/pixelit/core.js @@ -74,16 +74,16 @@ module.exports = (red) => { shape: 'ring', text: 'Sleep Mode Active!' }); - sendToPixelItScreen(createScreenJson(msg)); + sendToPixelItScreen(await createScreenJson(msg)); } else if (msg.sleepMode != undefined && tools.booleanConvert(msg.sleepMode) == false) { sleepModeActive = false; context.set('sleepModeActive', sleepModeActive); - sendToPixelItScreen(createScreenJson(msg)); + sendToPixelItScreen(await createScreenJson(msg)); getNextScreen(); } else if (sleepModeActive == false) { - sendToPixelItScreen(createScreenJson(msg)); + sendToPixelItScreen(await createScreenJson(msg)); } }