diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 26c5433..acd3d22 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -432,9 +432,6 @@ namespace ratgdo { return; } toggleLight(); - // We don't always get the state back so be optimistic - this->previousLightState = this->lightState; - this->lightState = LightState::LIGHT_STATE_ON; } void RATGDOComponent::lightOff() @@ -444,9 +441,6 @@ namespace ratgdo { return; } toggleLight(); - // We don't always get the state back so be optimistic - this->previousLightState = this->lightState; - this->lightState = LightState::LIGHT_STATE_OFF; } void RATGDOComponent::toggleLight()