From 112192a019fdc4c97897035979f826664cf60b98 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Thu, 31 Mar 2011 18:23:58 +0000 Subject: [PATCH] smokeDetector bugFix git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@882 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/10_CUL_HM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/10_CUL_HM.pm b/FHEM/10_CUL_HM.pm index 2be455169..0e7e8c8d4 100755 --- a/FHEM/10_CUL_HM.pm +++ b/FHEM/10_CUL_HM.pm @@ -307,7 +307,7 @@ CUL_HM_Parse($$) } elsif($st eq "smokeDetector") { ##################################### - if($p eq "01..C8") { + if($p =~ m/01..C8/) { push @event, "state:on"; push @event, "smoke_detect:on";