Fix issue where shade was moving when my button was pressed and no favorite was set

This commit is contained in:
Robert Strouse 2023-07-07 15:47:00 -07:00
parent 42947690a2
commit c24364ee7d
2 changed files with 1 additions and 0 deletions

View file

@ -1767,6 +1767,7 @@ void SomfyShade::moveToMyPosition() {
else
return;
}
if(this->myPos == -1 && (this->tiltType == tilt_types::none || this->myTiltPos == -1)) return;
Serial.print("Seeking my Position:");
Serial.print(this->myPos);
Serial.print("% ");

Binary file not shown.