From 004a9fe56dda8a01f4d18f1a4e1055a34c6326e8 Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Sat, 6 Aug 2016 20:36:33 +0000 Subject: [PATCH] 31_HUEDevice.pm: setList fix git-svn-id: https://svn.fhem.de/fhem/trunk@11912 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/31_HUEDevice.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/31_HUEDevice.pm b/fhem/FHEM/31_HUEDevice.pm index f3b07d7ac..1e5f61d7f 100644 --- a/fhem/FHEM/31_HUEDevice.pm +++ b/fhem/FHEM/31_HUEDevice.pm @@ -1263,7 +1263,7 @@ HUEDevice_Attr($$$;$) return "$name is not a CLIP sensor device" if( $hash->{type} && $hash->{type} !~ m/^CLIP/ ); if( $cmd eq "set" && $attrVal ) { foreach my $line ( split( "\n", $attrVal ) ) { - my($cmd,$json) = split( ":", $line ); + my($cmd,$json) = split( ":", $line,2 ); if( $cmd =~ m'^/(.*)/$' ) { my $regex = $1; $hash->{helper}{setList}{'regex'} = [] if( !$hash->{helper}{setList}{':regex'} );