mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
CUL_HM:bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@8162 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dd2d55c7b4
commit
89ed7b80a3
@ -1766,7 +1766,9 @@ sub CUL_HM_Parse($$) {#########################################################
|
||||
my $dir = ($err >> 4) & 3;
|
||||
my %dirName = ( 0=>"stop" ,1=>"up" ,2=>"down" ,3=>"err" );
|
||||
push @evtEt,[$shash,1,"$eventName:$dirName{$dir}:$vs" ];
|
||||
$shash->{helper}{dir}{rct} = $shash->{helper}{dir}{cur} if($shash->{helper}{dir}{cur} ne $dirName{$dir});
|
||||
$shash->{helper}{dir}{rct} = $shash->{helper}{dir}{cur}
|
||||
if($shash->{helper}{dir}{cur} &&
|
||||
$shash->{helper}{dir}{cur} ne $dirName{$dir});
|
||||
$shash->{helper}{dir}{cur} = $dirName{$dir};
|
||||
}
|
||||
if (!$rSUpdt){#dont touch if necessary for dimmer
|
||||
|
Loading…
x
Reference in New Issue
Block a user