fix uninitialized value $iodev in hash element line 221
This commit is contained in:
parent
5b268a4d9c
commit
c21bd2479a
@ -1,4 +1,4 @@
|
||||
UPD 2021-11-26_17:16:05 9207 FHEM/73_NUKIBridge.pm
|
||||
UPD 2021-11-26_18:16:04 7548 FHEM/74_NUKIDevice.pm
|
||||
UPD 2021-11-26_19:31:40 35495 lib/FHEM/Devices/Nuki/Bridge.pm
|
||||
UPD 2021-11-26_18:46:30 15635 lib/FHEM/Devices/Nuki/Device.pm
|
||||
UPD 2021-11-27_08:19:45 9207 FHEM/73_NUKIBridge.pm
|
||||
UPD 2021-11-27_08:19:45 7548 FHEM/74_NUKIDevice.pm
|
||||
UPD 2021-11-27_08:19:45 35495 lib/FHEM/Devices/Nuki/Bridge.pm
|
||||
UPD 2021-11-27_09:51:08 15681 lib/FHEM/Devices/Nuki/Device.pm
|
||||
|
@ -218,7 +218,9 @@ sub Define {
|
||||
|
||||
$iodev = $hash->{IODev}->{NAME};
|
||||
|
||||
$hash->{BRIDGEAPI} = $::defs{$iodev}->{BRIDGEAPI};
|
||||
$hash->{BRIDGEAPI} = $::defs{$iodev}->{BRIDGEAPI}
|
||||
if ( defined(iodev)
|
||||
&& $iodev );
|
||||
|
||||
my $d = $::modules{NUKIDevice}{defptr}{$nukiId};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user