[sleeplog] Initialise .onChange as object

pull/2322/head
storm64 2022-11-10 17:16:44 +01:00
parent 58330df11c
commit 56e69cc32c
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ if (sleeplog.conf.enabled) {
// (0 = unknown, 1 = no consecutive sleep, 2 = consecutive sleep)
// prevStatus: value of the previous status 0-4,
// prevConsecutive: value of the previous status 0-2
onChange: []
onChange: {}
}, sleeplog);
// initial starting