fix drive condition for ASCenable and idleDetection
This commit is contained in:
@ -4612,10 +4612,9 @@ sub _SetCmdFn {
|
||||
|
||||
return
|
||||
if (
|
||||
$shutters->getASCenable eq 'off'
|
||||
&& $ascDev->getASCenable eq 'off'
|
||||
&& ( $idleDetection !~ m{^$idleDetectionValue$}xms
|
||||
|| $idleDetection ne 'none' )
|
||||
$shutters->getASCenable eq 'off'
|
||||
|| $ascDev->getASCenable eq 'off'
|
||||
|| $idleDetection !~ m{^$idleDetectionValue$}xms
|
||||
);
|
||||
|
||||
if ( $shutters->getStatus != $posValue ) {
|
||||
@ -5040,4 +5039,7 @@ sub _CheckShuttersConditionsForShadingFn {
|
||||
readingsEndUpdate( $shuttersDevHash, 1 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
1;
|
||||
|
Reference in New Issue
Block a user