mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
fixed undef $defs{$d}->{TYPE} warning
git-svn-id: https://svn.fhem.de/fhem/trunk@5046 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9bc77a5e96
commit
918d137438
@ -190,6 +190,7 @@ LaCrosse_Parse($$)
|
||||
if( !$modules{LaCrosse}{defptr}{$raddr} ) {
|
||||
foreach my $d (sort keys %defs) {
|
||||
next if( !defined($defs{$d}) );
|
||||
next if( !defined($defs{$d}->{TYPE}) );
|
||||
next if( $defs{$d}->{TYPE} ne "LaCrosse" );
|
||||
next if( !$defs{$d}->{replaceBattery} );
|
||||
if( $battery_new || $defs{$d}->{replaceBattery} == 2 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user