diff --git a/tasmota/xdrv_27_shutter.ino b/tasmota/xdrv_27_shutter.ino index f5614d276..3431cb7d8 100644 --- a/tasmota/xdrv_27_shutter.ino +++ b/tasmota/xdrv_27_shutter.ino @@ -1084,7 +1084,7 @@ void CmndShutterPosition(void) } int8_t new_shutterdirection = Shutter[index].real_position < Shutter[index].target_position ? 1 : -1; if (Shutter[index].direction == -new_shutterdirection) { - Shutter[index].start_position = Shutter[index].target_position; + Shutter[index].target_position = Shutter[index].start_position; ShutterPowerOff(index); } if (Shutter[index].direction != new_shutterdirection) {