10_IT.pm: don't give "Undefined value" messages as was with r6818
git-svn-id: https://svn.fhem.de/fhem/trunk@6979 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -62,9 +62,10 @@ IT_SetState($$$$)
|
||||
{
|
||||
my ($hash, $tim, $vt, $val) = @_;
|
||||
|
||||
return undef;
|
||||
|
||||
$val = $1 if($val =~ m/^(.*) \d+$/);
|
||||
return "Undefined value $val" if(!defined($it_c2b{$val}));
|
||||
return undef;
|
||||
}
|
||||
|
||||
#############################
|
||||
|
||||
Reference in New Issue
Block a user