fix: pass wake_sink through hsc.init in all entries
This commit is contained in:
1 parent
dff698ff1c
commit
40e6e7efec
4 files changed
+4
No files matched your search
@@ -3,6 +3,7 @@ local hsc = require("./lib/hsc.luau")
|
||||
hsc.init({
|
||||
device = noctalia.getConfig("device"),
|
||||
mock = noctalia.getConfig("mock"),
|
||||
wake_sink = noctalia.getConfig("wake_sink"),
|
||||
})
|
||||
|
||||
local state = {
|
||||
|
||||
@@ -8,6 +8,7 @@ local function config()
|
||||
mock = noctalia.getConfig("mock"),
|
||||
poll_interval = noctalia.getConfig("poll_interval"),
|
||||
battery_low = noctalia.getConfig("battery_low"),
|
||||
wake_sink = noctalia.getConfig("wake_sink"),
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ local hsc = require("./lib/hsc.luau")
|
||||
hsc.init({
|
||||
device = noctalia.getConfig("device"),
|
||||
mock = noctalia.getConfig("mock"),
|
||||
wake_sink = noctalia.getConfig("wake_sink"),
|
||||
})
|
||||
|
||||
local on = false
|
||||
|
||||
@@ -3,6 +3,7 @@ local hsc = require("./lib/hsc.luau")
|
||||
hsc.init({
|
||||
device = noctalia.getConfig("device"),
|
||||
mock = noctalia.getConfig("mock"),
|
||||
wake_sink = noctalia.getConfig("wake_sink"),
|
||||
})
|
||||
|
||||
local battery = { status = "BATTERY_UNAVAILABLE", level = -1 }
|
||||
|
||||
Reference in new issue
Block a user