mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
CUL_HM: corect siren statsu Channel 4
git-svn-id: https://svn.fhem.de/fhem/trunk@11919 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf362d0cda
commit
3cddfb1d3a
@ -2182,7 +2182,7 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
my ($chn,$val,$err) = (hex($mI[1]),hex($mI[2])/2,hex($mI[3]));
|
||||
my $vs = $val == 0 ? "off" : "on";
|
||||
if ($chn == 4){
|
||||
my %lvlSet = ("00"=>"disarmed","01"=>"armExtSens","02"=>"armAll","03"=>"armBlocked");
|
||||
my %lvlSet = ("00"=>"disarmed","32"=>"armExtSens","C8"=>"armAll","FF"=>"armBlocked");
|
||||
$vs = defined $lvlSet{$val}?$lvlSet{$val}:$val;
|
||||
}
|
||||
push @evtEt,[$mh{cHash},1,"level:$val"];
|
||||
|
Loading…
Reference in New Issue
Block a user