2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

git-svn-id: https://svn.fhem.de/fhem/trunk@3041 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
pahenning 2013-04-06 15:23:31 +00:00
parent 062217c7b7
commit beab3fc6dc

View File

@ -75,7 +75,7 @@ use strict;
use warnings;
sub Log($$);
my $owx_version="3.21";
my $owx_version="3.23";
#-- fixed raw channel name, flexible channel name
my @owg_fixed = ("A","B","C","D","E","F","G","H");
my @owg_channel = ("A","B","C","D","E","F","G","H");
@ -609,7 +609,6 @@ sub OWSWITCH_Set($@) {
#-- find out which channel we have
my $fnd=undef;
for (my $i=0;$i<$cnumber{$attr{$name}{"model"}};$i++){
Log 1," testing $a[2] against $owg_channel[$i] and $owg_fixed[$i]";
if( ($a[2] eq $owg_channel[$i]) || ($a[2] eq $owg_fixed[$i]) ){
$fnd=$i;
last;