Skip to content

Commit

Permalink
stateengine plugin: fix value conversion for strings!
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Jul 5, 2024
1 parent eb6e994 commit 601ca5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stateengine/StateEngineCondition.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def __convert(convert_value, convert_current):
else:
self.__value.set_cast(StateEngineTools.cast_str)
convert_value = StateEngineTools.cast_str(convert_value)
convert_current = StateEngineTools.cast_str(convert_value)
convert_current = StateEngineTools.cast_str(convert_current)
if not type(_oldvalue) == type(convert_value):
self._log_debug("Value {} was type {} and therefore not the same"
" type as item value {}. It got converted to {}.",
Expand Down

0 comments on commit 601ca5b

Please sign in to comment.