Skip to content

Commit

Permalink
stateengine plugin: introduce possibility to define se_item and se_st…
Browse files Browse the repository at this point in the history
…atus as "eval:..." instead of using se_eval or se_status_eval (which still works)
  • Loading branch information
onkelandy committed Sep 8, 2023
1 parent 68dac0b commit 0ab012c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stateengine/StateEngineConditionSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def update(self, item, grandparent_item):
if name == "":
continue
cond1 = name not in self.__used_attributes.keys()
cond2 = func == "se_item" or func == "se_eval" or func == "se_status"
cond2 = func == "se_item" or func == "se_eval" or func == "se_status_eval" or func == "se_status"
cond3 = name not in self.__unused_attributes.keys()
if cond1:
if cond2 and cond3:
Expand Down

0 comments on commit 0ab012c

Please sign in to comment.