2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

73_AutoShuttersControl: fix ShadingProcessingDriceCommand check windows open condition

git-svn-id: https://svn.fhem.de/fhem/trunk@21638 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
LeonGaultier 2020-04-11 08:32:06 +00:00
parent 8ec552fb0f
commit fe621e5f01

View File

@ -2510,8 +2510,12 @@ sub ShadingProcessingDriveCommand {
if ( $shutters->getShadingStatus eq 'in' if ( $shutters->getShadingStatus eq 'in'
&& $getShadingPos != $getStatus ) && $getShadingPos != $getStatus )
{ {
if ( !CheckIfShuttersWindowRecOpen($shuttersDev) == 2 if (
&& $shutters->getShuttersPlace eq 'terrace' ) !(
CheckIfShuttersWindowRecOpen($shuttersDev) == 2
&& $shutters->getShuttersPlace eq 'terrace'
)
)
{ {
$shutters->setLastDrive('shading in'); $shutters->setLastDrive('shading in');
ShuttersCommandSet( $hash, $shuttersDev, $getShadingPos ); ShuttersCommandSet( $hash, $shuttersDev, $getShadingPos );