fix drive condition for ASCenable and idleDetection

This commit is contained in:
2020-07-04 11:14:14 +02:00
parent 331b0b0432
commit 3f8397a6a2
2 changed files with 12 additions and 10 deletions

View File

@ -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;