mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
10_FBDECT.pm: somewhat better autocreate handling (Forum #39636)
git-svn-id: https://svn.fhem.de/fhem/trunk@9042 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2b32bd3e81
commit
22ea4cba16
@ -168,7 +168,7 @@ FBDECT_Parse($$@)
|
|||||||
my $hash = $modules{FBDECT}{defptr}{"$ioName:$id"};
|
my $hash = $modules{FBDECT}{defptr}{"$ioName:$id"};
|
||||||
$hash = $modules{FBDECT}{defptr}{$id} if(!$hash);
|
$hash = $modules{FBDECT}{defptr}{$id} if(!$hash);
|
||||||
if(!$hash) {
|
if(!$hash) {
|
||||||
my $ret = "UNDEFINED FBDECT_$id FBDECT $ioName:$id switch";
|
my $ret = "UNDEFINED FBDECT_${ioName}_$id FBDECT $ioName:$id switch";
|
||||||
Log3 $ioName, 3, "$ret, please define it";
|
Log3 $ioName, 3, "$ret, please define it";
|
||||||
DoTrigger("global", $ret);
|
DoTrigger("global", $ret);
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user