diff --git a/fhem/CHANGED b/fhem/CHANGED index 04f472cbd..ae509ee3a 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 73_AutoShuttersControl: fix shading in drive then shutter is closed - change: 32_withings: added sleep apnea index reading - bugfix: 48_BlinkCamera: Active/Enabled handling to new format - bugfix: 52_I2C_HDC1008: "temperature" reading now works correctly with diff --git a/fhem/FHEM/73_AutoShuttersControl.pm b/fhem/FHEM/73_AutoShuttersControl.pm index 75e2ee371..1d6f2b421 100644 --- a/fhem/FHEM/73_AutoShuttersControl.pm +++ b/fhem/FHEM/73_AutoShuttersControl.pm @@ -1258,7 +1258,7 @@ sub Initialize { ], "release_status": "testing", "license": "GPL_2", - "version": "v0.10.5", + "version": "v0.10.6", "author": [ "Marko Oldenburg " ], diff --git a/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm b/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm index ae48219ca..1b1cb536b 100644 --- a/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm +++ b/fhem/lib/FHEM/Automation/ShuttersControl/Shading.pm @@ -513,6 +513,7 @@ sub ShadingProcessing { sub ShadingProcessingDriveCommand { my $hash = shift; my $shuttersDev = shift; + my $marker = shift // 0; my $name = $hash->{NAME}; $FHEM::Automation::ShuttersControl::shutters->setShuttersDev($shuttersDev); @@ -527,7 +528,11 @@ sub ShadingProcessingDriveCommand { if ( IsInTime($FHEM::Automation::ShuttersControl::shutters->getShadingBetweenTheTime) && $FHEM::Automation::ShuttersControl::shutters->getShadingStatus eq 'in' && $getShadingPos != $getStatus - && $getStatus != $FHEM::Automation::ShuttersControl::shutters->getClosedPos + && ( $getStatus != $FHEM::Automation::ShuttersControl::shutters->getClosedPos + || ( $getStatus == $FHEM::Automation::ShuttersControl::shutters->getClosedPos + && $marker + ) + ) && ( FHEM::Automation::ShuttersControl::CheckIfShuttersWindowRecOpen( $shuttersDev) != 2