From c8e72d271113a7dfe1c46f92831ab56084063346 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Wed, 13 Sep 2023 15:16:34 +0200 Subject: [PATCH] stateengine plugin: fix value evaluation by reintroducing deepcopy of value --- stateengine/StateEngineValue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stateengine/StateEngineValue.py b/stateengine/StateEngineValue.py index 73c01acdd..329125021 100755 --- a/stateengine/StateEngineValue.py +++ b/stateengine/StateEngineValue.py @@ -156,7 +156,7 @@ def __resetvalue(self): # value: string indicating value or source of value # name: name of object ("time" is being handled differently) def set(self, value, name="", reset=True, item=None): - #value = copy.deepcopy(value) + value = copy.deepcopy(value) if reset: self.__resetvalue() if isinstance(value, list):