Files
automation_rs/config/ntfy.lua
Dreaded_X 1766a7b175
All checks were successful
Build and deploy / build (push) Successful in 10m15s
Build and deploy / Deploy container (push) Has been skipped
WIP
2025-10-19 07:21:57 +02:00

16 lines
293 B
Lua

local devices = require("automation:devices")
local secrets = require("automation:secrets")
local module = {}
local ntfy_topic = secrets.ntfy_topic
if ntfy_topic == nil then
error("Ntfy topic is not specified")
end
module.device = devices.Ntfy.new({
topic = ntfy_topic,
})
return module