diff --git a/action_plugins/tasmota.py b/action_plugins/tasmota.py index 420d0ed..462f9ef 100644 --- a/action_plugins/tasmota.py +++ b/action_plugins/tasmota.py @@ -143,6 +143,8 @@ def run(self, tmp=None, task_vars=None): existing_value = self._translateResultStr(existing_value) elif (command.startswith('PowerRetain')): existing_value = self._translateResultStr(existing_value) + elif (command.startswith('SensorRetain')): + existing_value = self._translateResultStr(existing_value) elif (command == 'Module'): modules_ids = data.get(command).keys() existing_value = next(iter(modules_ids))