mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
10_pilight_ctrl: fix regex for event INITIALIZED
git-svn-id: https://svn.fhem.de/fhem/trunk@14083 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1f2519edd1
commit
97bb9d0b5d
@ -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/ ){
|
||||
|
Loading…
Reference in New Issue
Block a user