Shorten delay between lift and tilt movement.

This commit is contained in:
Robert Strouse 2023-04-28 10:35:44 -07:00
parent 22819be9be
commit 7425a46d1a
2 changed files with 2 additions and 2 deletions

View file

@ -576,7 +576,7 @@ void SomfyShade::checkMovement() {
if(this->settingPos) { if(this->settingPos) {
SomfyRemote::sendCommand(somfy_commands::My); SomfyRemote::sendCommand(somfy_commands::My);
if(!isAtTarget()) { if(!isAtTarget()) {
delay(300); delay(100);
// We now need to move the tilt to the position we requested. // We now need to move the tilt to the position we requested.
this->moveToTiltTarget(this->tiltTarget); this->moveToTiltTarget(this->tiltTarget);
} }
@ -619,7 +619,7 @@ void SomfyShade::checkMovement() {
if(this->settingPos) { if(this->settingPos) {
SomfyRemote::sendCommand(somfy_commands::My); SomfyRemote::sendCommand(somfy_commands::My);
if(!isAtTarget()) { if(!isAtTarget()) {
delay(300); delay(100);
// We now need to move the tilt to the position we requested. // We now need to move the tilt to the position we requested.
this->moveToTiltTarget(this->tiltTarget); this->moveToTiltTarget(this->tiltTarget);
} }

Binary file not shown.