Files
openhab-core/itests/org.openhab.core.model.rule.tests
lolodomoandGitHub e2aacb11a9 [DSL rule] Add time of day trigger to DSL file syntax (#5440)
* [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>
2026-03-25 21:48:52 +01:00
..
2024-12-24 07:02:47 +01:00
2026-03-02 17:16:48 +01:00
2019-02-15 10:46:18 +01:00
2025-12-22 22:01:01 +01:00