10_IT.pm: On startup setstate entries from fhem.save produce an an "Undefined value" error if an eventMap was defined for an IT-Device. As other modules also do not return errors I Removed the related code.

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
arnoaugustin
2014-10-27 10:24:01 +00:00
parent 8249e2fe32
commit 1cdcc65427

View File

@@ -58,8 +58,6 @@ IT_SetState($$$$)
{
my ($hash, $tim, $vt, $val) = @_;
$val = $1 if($val =~ m/^(.*) \d+$/);
return "Undefined value $val" if(!defined($it_c2b{$val}));
return undef;
}