mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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:
parent
c64ca1f555
commit
3af3cb7845
@ -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};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user