diff --git a/src/bin/calaos_server/IO/Mqtt/MqttOutputLightDimmer.cpp b/src/bin/calaos_server/IO/Mqtt/MqttOutputLightDimmer.cpp index 0059c45b..806e490b 100644 --- a/src/bin/calaos_server/IO/Mqtt/MqttOutputLightDimmer.cpp +++ b/src/bin/calaos_server/IO/Mqtt/MqttOutputLightDimmer.cpp @@ -57,7 +57,6 @@ void MqttOutputLightDimmer::readValue() if (!err) { - old_value = value; value = newValue; cmd_state = "set " + Utils::to_string(value);