git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3041 2b470e98-0d58-463d-a4d8-8e2adae1ed80

This commit is contained in:
pahenning
2013-04-06 15:23:31 +00:00
parent c197a071bf
commit a994b959c3

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;