MAX: make 'Got message for undefined device' more informative

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4181 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2013-11-08 11:17:32 +00:00
parent c64ca1f555
commit 3af3cb7845

View File

@ -583,7 +583,7 @@ MAX_Parse($$)
if($devicetype) { if($devicetype) {
return "UNDEFINED MAX_$addr MAX $devicetype $addr"; return "UNDEFINED MAX_$addr MAX $devicetype $addr";
} else { } else {
Log 2, "Got message for undefined device, and failed to guess type from msg '$msgtype' - ignoring"; Log 2, "Got message for undefined device $addr, and failed to guess type from msg '$msgtype' - ignoring";
return $hash->{NAME}; return $hash->{NAME};
} }
} }