Files
OpenHAB-FFR/rules/SystemStart.rules
2022-09-29 17:19:30 +02:00

12 lines
326 B
Plaintext

var Timer StartupTimer = null
rule "Startup Message"
when
System started
then
logInfo("SystemStart.rules", "Create timer for Systemstartup & Restore")
StartupTimer = createTimer(now.plusSeconds(30), [|
logInfo("SystemStart.rules", "Set StartupSwitch to ON")
StartupSwitch.postUpdate(ON)
])
end