code style
This commit is contained in:
@@ -879,8 +879,7 @@ sub EventProcessingWindowRec($@) {
|
||||
{
|
||||
if ( $shutters->getShadingStatus eq 'in'
|
||||
and $shutters->getShuttersPlace eq 'terrace'
|
||||
and $shutters->getShadingPos != $shutters->getStatus
|
||||
)
|
||||
and $shutters->getShadingPos != $shutters->getStatus )
|
||||
{
|
||||
$shutters->setLastDrive('shading in');
|
||||
$shutters->setNoOffset(1);
|
||||
@@ -1536,8 +1535,7 @@ sub EventProcessingBrightness($@) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
EventProcessingShadingBrightness( $hash, $shuttersDev,
|
||||
$events );
|
||||
EventProcessingShadingBrightness( $hash, $shuttersDev, $events );
|
||||
ASC_Debug( 'EventProcessingBrightness: '
|
||||
. $shutters->getShuttersDev
|
||||
. ' - Brightness Event kam nicht innerhalb der Verarbeitungszeit für Sunset oder Sunris oder aber für beide wurden die entsprechendne Verarbeitungsschwellen nicht erreicht.'
|
||||
@@ -1875,7 +1873,8 @@ sub ShadingProcessing($@) {
|
||||
: $getStatus < $getShadingPos
|
||||
);
|
||||
|
||||
if ( not $queryShuttersShadingPos
|
||||
if (
|
||||
not $queryShuttersShadingPos
|
||||
and not( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||
and $shutters->getShuttersPlace eq 'terrace' )
|
||||
)
|
||||
|
Reference in New Issue
Block a user