feat(config)!: Made schedule part of new modules
All checks were successful
Build and deploy / build (push) Successful in 11m57s
Build and deploy / Deploy container (push) Has been skipped

This commit is contained in:
2025-10-22 03:24:34 +02:00
parent a938f3d71b
commit 9546585440
7 changed files with 64 additions and 52 deletions

View File

@@ -29,14 +29,4 @@ return {
require("config.rooms"),
require("config.windows"),
},
-- TODO: Make this also part of the modules
schedule = {
["0 0 19 * * *"] = function()
require("config.rooms.bedroom").set_airfilter_on(true)
end,
["0 0 20 * * *"] = function()
require("config.rooms.bedroom").set_airfilter_on(false)
end,
["0 0 21 */1 * *"] = require("config.battery").notify_low_battery,
},
}