2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

threeStateSensor event names changed

git-svn-id: https://svn.fhem.de/fhem/trunk@1123 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-11-28 15:00:21 +00:00
parent c3f792a92e
commit ad713abbe7

View File

@ -604,11 +604,11 @@ CUL_HM_Parse($$)
my $lst = defined($1) ? $1 : "00";
if($p =~ m/^0601000E$/) {
push @event, "state:alive";
push @event, "alive:yes";
} elsif($p =~ m/^0601..00$/) {
push @event, "cover:closed";
push @event, "state:alive";
push @event, "alive:yes";
} elsif($p =~ m/^0601..0E$/) {
push @event, "cover:open";
@ -622,7 +622,7 @@ CUL_HM_Parse($$)
if($model eq "HM-SEC-WDS");
if($txt{$lst}) {
push @event, "contact:$txt{$lst}$target";
push @event, "state:$txt{$lst}$target";
} else {
$lst = "00"; # for the ack