2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

10_EnOcean: RORG check changed

git-svn-id: https://svn.fhem.de/fhem/trunk@11831 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klaus-schauer 2016-07-22 03:50:29 +00:00
parent 8fa5bc6f5c
commit b40644589f

View File

@ -1,7 +1,6 @@
##############################################
# $Id$
# 2016-07-08
package main;
@ -6346,7 +6345,11 @@ sub EnOcean_Parse($$)
}
$rorgname = $EnO_rorgname{$rorg};
if (!$rorgname) {
Log3 undef, 2, "EnOcean RORG $rorg received from $senderID unknown.";
if($hash) {
Log3 $hash->{NAME}, 2, "EnOcean $hash->{NAME} RORG $rorg unknown.";
} else {
Log3 undef, 2, "EnOcean RORG $rorg received from $senderID unknown.";
}
return "";
}