remove debug messages
This commit is contained in:
		@@ -2059,13 +2059,10 @@ sub IsDay($$) {
 | 
			
		||||
    my $name = $hash->{NAME};
 | 
			
		||||
    my $isday = ( ShuttersSunrise( $hash, $shuttersDev, 'unix' ) >
 | 
			
		||||
          ShuttersSunset( $hash, $shuttersDev, 'unix' ) ? 1 : 0 );
 | 
			
		||||
    
 | 
			
		||||
    print 'IsDay: ' . $isday . "\n";
 | 
			
		||||
 | 
			
		||||
    $respIsDay = ( ($shutters->getDown eq 'brightness' and $shutters->getBrightness > $shutters->getBrightnessMinVal and $isday) ? 1 : 0 );
 | 
			
		||||
    print 'IsDayAbends: ' . $respIsDay . "\n";
 | 
			
		||||
 | 
			
		||||
    $respIsDay = ( (($shutters->getUp eq 'brightness' and $shutters->getBrightness > $shutters->getBrightnessMaxVal and not $isday) or $respIsDay) ? 1 : 0 );
 | 
			
		||||
    print 'IsDayMorgens: ' . $respIsDay . "\n";
 | 
			
		||||
 | 
			
		||||
    return $respIsDay;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user