fix drive condition for ASCenable and idleDetection
This commit is contained in:
		| @@ -1,12 +1,12 @@ | |||||||
| UPD 2020-07-02_14:58:15 96885 FHEM/73_AutoShuttersControl.pm | UPD 2020-07-04_11:01:19 96885 FHEM/73_AutoShuttersControl.pm | ||||||
| UPD 2020-07-02_18:02:10 188567 lib/FHEM/Automation/ShuttersControl.pm | UPD 2020-07-04_11:13:41 188533 lib/FHEM/Automation/ShuttersControl.pm | ||||||
| UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm | UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm | ||||||
| UPD 2020-07-02_14:58:15 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm | UPD 2020-07-04_11:01:19 2493 lib/FHEM/Automation/ShuttersControl/Roommate.pm | ||||||
| UPD 2020-07-02_14:47:17 30157 lib/FHEM/Automation/ShuttersControl/Shutters.pm | UPD 2020-07-04_11:01:19 30157 lib/FHEM/Automation/ShuttersControl/Shutters.pm | ||||||
| UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm | UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm | ||||||
| UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm | UPD 2020-06-22_09:41:40 11454 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm | ||||||
| UPD 2020-06-22_09:41:40 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm | UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm | ||||||
| UPD 2020-06-30_12:47:15 52390 lib/FHEM/Automation/ShuttersControl/Shutters/Attr.pm | UPD 2020-07-03_11:29:10 52390 lib/FHEM/Automation/ShuttersControl/Shutters/Attr.pm | ||||||
| UPD 2020-06-22_09:41:40 2903 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm | UPD 2020-06-22_09:41:40 2903 lib/FHEM/Automation/ShuttersControl/Shutters/Readings.pm | ||||||
| UPD 2020-06-22_09:41:40 3972 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm | UPD 2020-06-22_09:41:40 3972 lib/FHEM/Automation/ShuttersControl/Window/Attr.pm | ||||||
| UPD 2020-06-22_09:41:40 2288 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm | UPD 2020-06-22_09:41:40 2288 lib/FHEM/Automation/ShuttersControl/Window/Readings.pm | ||||||
|   | |||||||
| @@ -4612,10 +4612,9 @@ sub _SetCmdFn { | |||||||
|  |  | ||||||
|     return |     return | ||||||
|       if ( |       if ( | ||||||
|            $shutters->getASCenable eq 'off' |               $shutters->getASCenable eq 'off' | ||||||
|         && $ascDev->getASCenable eq 'off' |            || $ascDev->getASCenable eq 'off' | ||||||
|         && (   $idleDetection !~ m{^$idleDetectionValue$}xms |            || $idleDetection !~ m{^$idleDetectionValue$}xms | ||||||
|             || $idleDetection ne 'none' ) |  | ||||||
|       ); |       ); | ||||||
|  |  | ||||||
|     if ( $shutters->getStatus != $posValue ) { |     if ( $shutters->getStatus != $posValue ) { | ||||||
| @@ -5040,4 +5039,7 @@ sub _CheckShuttersConditionsForShadingFn { | |||||||
|     readingsEndUpdate( $shuttersDevHash, 1 ); |     readingsEndUpdate( $shuttersDevHash, 1 ); | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| 1; | 1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user