mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-15 20:02:13 +01:00
Fix issue where shade was moving when my button was pressed and no favorite was set
This commit is contained in:
parent
42947690a2
commit
c24364ee7d
2 changed files with 1 additions and 0 deletions
|
|
@ -1767,6 +1767,7 @@ void SomfyShade::moveToMyPosition() {
|
||||||
else
|
else
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(this->myPos == -1 && (this->tiltType == tilt_types::none || this->myTiltPos == -1)) return;
|
||||||
Serial.print("Seeking my Position:");
|
Serial.print("Seeking my Position:");
|
||||||
Serial.print(this->myPos);
|
Serial.print(this->myPos);
|
||||||
Serial.print("% ");
|
Serial.print("% ");
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue