From 97bb9d0b5d829ce6b84773d28f681be6f2ffefcc Mon Sep 17 00:00:00 2001 From: Risiko <> Date: Sun, 23 Apr 2017 11:57:29 +0000 Subject: [PATCH] 10_pilight_ctrl: fix regex for event INITIALIZED git-svn-id: https://svn.fhem.de/fhem/trunk@14083 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_pilight_ctrl.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/10_pilight_ctrl.pm b/fhem/FHEM/10_pilight_ctrl.pm index 6f4702a9e..03d029432 100644 --- a/fhem/FHEM/10_pilight_ctrl.pm +++ b/fhem/FHEM/10_pilight_ctrl.pm @@ -48,7 +48,8 @@ # V 1.21 2016-11-13 - NEW: support contact sensors # V 1.22 2017-04-08 - NEW: support contact sensor GW-iwds07 # V 1.23 2017-04-08 - NEW: support new temperature protocols bmp085 and bmp180 -# V 1.23 2017-04-08 - FIX: GS-iwds07 support +# V 1.24 2017-04-22 - FIX: GS-iwds07 support +# V 1.25 2017-04-23 - FIX: react only of global::INITIALIZED m/^INITIALIZED$/ ############################################## package main; @@ -598,7 +599,7 @@ sub pilight_ctrl_Notify($$) next if(!defined($s)); my ($what,$who) = split(' ',$s); - if ( $what =~ m/INITIALIZED/ ) { + if ( $what =~ m/^INITIALIZED$/ ) { Log3 $me, 4, "$me(Notify): create white list for $s"; pilight_ctrl_createWhiteList($own); } elsif ( $what =~ m/DEFINED/ ){