mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-10 21:31:53 +01:00
[automation] Correctly trigger rules with start level 50 trigger (#1962)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
4a108e5c80
commit
8f13b99122
@ -1452,7 +1452,7 @@ public class RuleEngineImpl implements RuleManager, RegistryChangeListener<Modul
|
||||
Object slObj = t.getConfiguration().get(SystemTriggerHandler.CFG_STARTLEVEL);
|
||||
try {
|
||||
Integer sl = Integer.valueOf(slObj.toString());
|
||||
if (sl < StartLevelService.STARTLEVEL_RULEENGINE) {
|
||||
if (sl <= StartLevelService.STARTLEVEL_RULEENGINE) {
|
||||
return true;
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user