fix: pass wake_sink through hsc.init in all entries

This commit is contained in:
loki committed 2026-09-05 13:03:46 +02:00
1 parent dff698ff1c
commit 40e6e7efec
4 files changed
+4

No files matched your search

+1
View File
@@ -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 = {
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -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 }