37_harmony.pm: fixed isn't numeric in numeric eq warning (forum:http://forum.fhem.de/index.php/topic,44106.msg360674.html#msg360674)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9917 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-11-17 12:36:55 +00:00
parent da4ee9fcdf
commit b18e1ae00c

View File

@ -215,6 +215,7 @@ harmony_labelOfDevice($$;$)
{ {
my ($hash, $id, $default) = @_; my ($hash, $id, $default) = @_;
return undef if( $id eq '<unknown>' );
return undef if( !defined($hash->{config}) ); return undef if( !defined($hash->{config}) );
foreach my $device (@{$hash->{config}->{device}}) { foreach my $device (@{$hash->{config}->{device}}) {