feat: Added lua definition files
Also added a pre-commit hook to ensure that the definitions files are up-to-date.
This commit is contained in:
12
definitions/automation:device_manager.lua
Normal file
12
definitions/automation:device_manager.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
---@meta
|
||||
|
||||
---@class DeviceManager
|
||||
local DeviceManager
|
||||
---@param device DeviceInterface
|
||||
function DeviceManager:add(device) end
|
||||
|
||||
---@param cron string
|
||||
---@param callback fun()
|
||||
function DeviceManager:schedule(cron, callback) end
|
||||
|
||||
return DeviceManager
|
||||
Reference in New Issue
Block a user