fix condition
This commit is contained in:
		| @@ -5,7 +5,7 @@ UPD 2022-01-02_07:57:18 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm | ||||
| UPD 2022-01-02_08:52:49 32016 lib/FHEM/Automation/ShuttersControl/Shutters.pm | ||||
| UPD 2022-01-02_07:57:18 25452 lib/FHEM/Automation/ShuttersControl/Shading.pm | ||||
| UPD 2022-01-02_07:57:18 112122 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | ||||
| UPD 2022-01-10_11:00:42 40571 lib/FHEM/Automation/ShuttersControl/Helper.pm | ||||
| UPD 2022-01-10_11:04:15 40603 lib/FHEM/Automation/ShuttersControl/Helper.pm | ||||
| UPD 2022-01-02_07:57:18 2209 lib/FHEM/Automation/ShuttersControl/Window.pm | ||||
| UPD 2022-01-10_10:41:34 11858 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm | ||||
| UPD 2022-01-01_20:15:38 7265 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm | ||||
|   | ||||
| @@ -1030,7 +1030,7 @@ sub IsAdv { | ||||
|         && $FHEM::Automation::ShuttersControl::ascDev->getAdvEndDate eq | ||||
|         'CandlemasDay' ) | ||||
|     { | ||||
|         $adv = $monthday < 3 ? 1 : 0; | ||||
|         $adv = $month = 1 || ( $month = 2 && $monthday < 3 ) ? 1 : 0; | ||||
|     } | ||||
|     else { | ||||
|         my $time = str2time( $year . '-12-25' ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user