Files
automation_rs/definitions/automation:devices.lua
Dreaded_X 175066a4c7
All checks were successful
Build and deploy / build (push) Successful in 10m34s
Build and deploy / Deploy container (push) Has been skipped
feat: WIP
2025-09-17 01:20:17 +02:00

37 lines
604 B
Lua

---@meta
local devices
---@class Ntfy
local Ntfy
---@async
---@param notification Notification
function Ntfy:send_notification(notification) end
---@alias Priority
---| "min"
---| "low"
---| "default"
---| "high"
---| "max"
---@class Notification
---@field title string
---@field message string?
---@field tags string[]?
---@field priority Priority?
---@field actions Action[]?
---@class NtfyConfig
---@field url string
---@field topic string
---@class Action
---@field action
---| "broadcast"
---@field extras table<string, string>?
---@field label string
---@field clear boolean?
return devices