fix ShadingProcessingDriceCommand check windows open condition
This commit is contained in:
parent
f61ceaf6f0
commit
164a85edaa
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user