2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 03:59:11 +00:00

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@9917 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-11-17 12:36:55 +00:00
parent 703cf44114
commit c6be4734e0

View File

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