diff --git a/Somfy.cpp b/Somfy.cpp index b6a6dd6..c7002db 100644 --- a/Somfy.cpp +++ b/Somfy.cpp @@ -1139,7 +1139,13 @@ void SomfyShade::setMyPosition(int8_t pos, int8_t tilt) { } void SomfyShade::moveToMyPosition() { if(!this->isIdle()) return; - if(this->currentPos == this->myPos) return; // Nothing to see here since we are already here. + if(this->currentPos == this->myPos) { + if(this->tiltType != tilt_types::none) { + if(this->currentTiltPos == this->myTiltPos) return; // Nothing to see here since we are already here. + } + else + return; + } Serial.print("Seeking my Position:"); Serial.print(this->myPos); Serial.print("% "); diff --git a/SomfyController.ino.esp32.bin b/SomfyController.ino.esp32.bin index c322719..0637069 100644 Binary files a/SomfyController.ino.esp32.bin and b/SomfyController.ino.esp32.bin differ