diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 01aa4d3..616621e 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -270,7 +270,7 @@ namespace ratgdo { this->obstructionState, this->motorState, this->openings, - this->button); + this->buttonState); if (isStatus && this->forceUpdate_) { this->forceUpdate_ = false; this->previousDoorState = DoorState::DOOR_STATE_UNKNOWN;