fix Global symbol "$hash" requires explicit package name
geändert: lib/FHEM/Automation/ShuttersControl.pm
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| UPD 2020-07-03_13:18:05 97041 FHEM/73_AutoShuttersControl.pm | ||||
| UPD 2020-07-03_13:26:42 177740 lib/FHEM/Automation/ShuttersControl.pm | ||||
| UPD 2020-07-03_13:36:46 177776 lib/FHEM/Automation/ShuttersControl.pm | ||||
| UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm | ||||
| UPD 2020-07-03_11:29:10 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm | ||||
| UPD 2020-07-03_11:29:10 30710 lib/FHEM/Automation/ShuttersControl/Shutters.pm | ||||
|   | ||||
| @@ -392,7 +392,7 @@ sub Delete { | ||||
|     my $hash = shift; | ||||
|     my $name = shift; | ||||
|  | ||||
|     RemoveShuttersTimer(); | ||||
|     RemoveShuttersTimer($hash); | ||||
|  | ||||
|     return; | ||||
| } | ||||
| @@ -400,7 +400,7 @@ sub Delete { | ||||
| sub Shutdown { | ||||
|     my $hash = shift; | ||||
|  | ||||
|     RemoveShuttersTimer(); | ||||
|     RemoveShuttersTimer($hash); | ||||
|  | ||||
|     return; | ||||
| } | ||||
| @@ -4736,6 +4736,8 @@ sub _CheckShuttersConditionsForShadingFn { | ||||
| } | ||||
|  | ||||
| sub RemoveShuttersTimer { | ||||
|     my $hash    = shift; | ||||
|  | ||||
|     for my $shuttersDev ( @{ $hash->{helper}{shuttersList} } ) { | ||||
|         $shutters->setShuttersDev($shuttersDev); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user