Merge pull request 'stop CreateSunRiseSetShuttersTimer fn processing if no DevHash found for' (#31) from NoShuttersDevHashGiven into devel

Reviewed-on: #31
This commit is contained in:
Marko Oldenburg 2021-05-10 08:24:29 +02:00
commit c3f7191f70
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
UPD 2021-04-29_12:20:23 97974 FHEM/73_AutoShuttersControl.pm
UPD 2021-04-21_13:16:51 74314 lib/FHEM/Automation/ShuttersControl.pm
UPD 2021-04-29_12:22:26 97974 FHEM/73_AutoShuttersControl.pm
UPD 2021-05-10_08:20:42 74350 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2021-02-26_14:36:10 31487 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2021-04-29_11:34:37 25329 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2021-04-29_12:18:42 110757 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2021-04-29_12:22:26 25329 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2021-04-29_12:22:26 110757 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2021-02-26_14:36:10 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2021-04-27_07:52:31 11742 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm

View File

@ -1058,8 +1058,8 @@ sub CreateSunRiseSetShuttersTimer {
);
my $name = $hash->{NAME};
my $shuttersDevHash = $defs{$shuttersDev} // Log3( $hash->{NAME}, 1,
"AutoShuttersControl ($hash->{NAME}) - Error in function CreateSunRiseSetShuttersTimer. No shuttersDevHash given"
my $shuttersDevHash = $defs{$shuttersDev} return // Log3( $hash->{NAME}, 1,
"AutoShuttersControl ($hash->{NAME}) - Error in function CreateSunRiseSetShuttersTimer. No shuttersDevHash found for device name $shuttersDev"
);
my %funcHash;
$shutters->setShuttersDev($shuttersDev);