mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Add delay after lift movement and before tilt movment.
This commit is contained in:
parent
169208025f
commit
22819be9be
2 changed files with 2 additions and 0 deletions
|
|
@ -576,6 +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);
|
||||||
// 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);
|
||||||
}
|
}
|
||||||
|
|
@ -618,6 +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);
|
||||||
// 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.
Loading…
Add table
Add a link
Reference in a new issue