fix
This commit is contained in:
parent
aa6fa43fc7
commit
348a995d9d
|
@ -128,7 +128,7 @@ void RATGDOComponent::doorStateLoop() {
|
|||
this->doorState = "opening";
|
||||
}
|
||||
|
||||
if (this->lastDirectionChangeCounter - this->doorPositionCounter > 5) {
|
||||
if (lastDirectionChangeCounter - this->doorPositionCounter > 5) {
|
||||
if (this->doorState != "closing") {
|
||||
ESP_LOGD(TAG, "Door Closing...");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue