mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +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:
parent
c3f792a92e
commit
ad713abbe7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user