Skip to content

Commit

Permalink
bugfix sleepModeAktiv brightness and brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
o0shojo0o committed Mar 27, 2021
1 parent 0419839 commit d5f3eaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pixelit/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit d5f3eaf

Please sign in to comment.