UNDEFINED changes
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@519 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -102,7 +102,8 @@ HMS_Parse($$)
|
||||
if(!defined($defptr{$dev})) {
|
||||
Log 3, "Unknown HMS device $dev/$odev, please define it";
|
||||
$type = "HMS" if(!$type);
|
||||
return "UNDEFINED $type $odev";
|
||||
$type =~ s/-//; # RM100-2, - is special in fhem names
|
||||
return "UNDEFINED ${type}_$odev HMS $odev";
|
||||
}
|
||||
|
||||
my $def = $defptr{$dev};
|
||||
|
||||
Reference in New Issue
Block a user