2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

BugFix...

git-svn-id: https://svn.fhem.de/fhem/trunk@1545 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-05-08 06:26:08 +00:00
parent 961d184697
commit 9a1c118928

View File

@ -1384,7 +1384,7 @@ CUL_HM_Set($@)
$hash->{TESTNR} = $testnr;
CUL_HM_SendCmd($hash, sprintf("++9440%s%s00%02X",$dst,$dst,$testnr), 1, 0);
} elsif($cmd eq "alarm(.*)" && $st eq "smokeDetector") { #################
} elsif($cmd =~ m/alarm(.*)/ && $st eq "smokeDetector") { #################
CUL_HM_SendCmd($hash, sprintf("++9441%s%s01%s",
$dst,$dst, $1 eq "On" ? "0BC8" : "0C01"), 1, 0);