fix bug then shading pos drive in
This commit is contained in:
parent
78427bf1bc
commit
df93a8b8c1
@ -2510,13 +2510,9 @@ sub ShadingProcessingDriveCommand {
|
|||||||
if ( $shutters->getShadingStatus eq 'in'
|
if ( $shutters->getShadingStatus eq 'in'
|
||||||
&& $getShadingPos != $getStatus )
|
&& $getShadingPos != $getStatus )
|
||||||
{
|
{
|
||||||
if (
|
if ( !CheckIfShuttersWindowRecOpen($shuttersDev) == 2
|
||||||
# !$shutters->getQueryShuttersPos($getShadingPos)
|
&& $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