mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
Added multi-channel for threeSensor pairing
git-svn-id: https://svn.fhem.de/fhem/trunk@1392 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
457b354e8b
commit
3b716902c8
@ -1409,7 +1409,7 @@ CUL_HM_Pair(@)
|
||||
"CUL_HM pair: $name $stt, model $model serialNr $serNo";
|
||||
|
||||
# Create shadow device for multi-channel
|
||||
if($stn eq "switch" &&
|
||||
if(($stn eq "switch" || $stn eq "threeStateSensor") &&
|
||||
$devInfo =~ m,(..)(..)(..), ) {
|
||||
my ($b1, $b2, $b3) = (hex($1)&0xf, hex($2), $3);
|
||||
for(my $i = $b2+1; $i<=$b1; $i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user