mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
* [DSL rule] Add time of day trigger to DSL file syntax Closes #5435 Exampele of rule: ``` rule "Test time of day trigger" when Time is 20:13 then logInfo("Rule","Test") end ``` For backward compatibility, using "noon" and "midnight" is still supported. "timer.TimeOfDayTrigger" is now used (instead of "timer.GenericCronTrigger"). Here is the log confirming the execution of the rule at the expected time: ``` 20:13:00.531 [INFO ] [org.openhab.core.model.script.Rule ] - Test ``` Signed-off-by: Laurent Garnier <lg.hc@free.fr>