2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 02:31:53 +00:00

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 e475aa53e9
commit 6593956a11
2 changed files with 2 additions and 2 deletions

View File

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

View File

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