10_ZWave.pm/00_ZWCUL.pm: Fix mixed work with STACKABLE (Forum #68811)

git-svn-id: https://svn.fhem.de/fhem/trunk@13897 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-04-04 17:12:21 +00:00
parent d53a45f124
commit d176a754e0
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ ZWCUL_Define($$)
"HomeId:$hash->{homeId} CtrlNodeIdHex:$hash->{nodeIdHex}", TimeNow());
$hash->{Clients} = ":ZWave:STACKABLE:";
my %matchList = ( "1:ZWave" => ".*",
my %matchList = ( "1:ZWave" => "^[0-9A-Fa-f]+\$",
"2:STACKABLE"=>"^\\*" );
$hash->{MatchList} = \%matchList;

View File

@@ -613,7 +613,7 @@ sub
ZWave_Initialize($)
{
my ($hash) = @_;
$hash->{Match} = ".*";
$hash->{Match} = "^[0-9A-Fa-f]+\$";
$hash->{SetFn} = "ZWave_Set";
$hash->{GetFn} = "ZWave_Get";
$hash->{DefFn} = "ZWave_Define";