2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

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: https://svn.fhem.de/fhem/trunk@6818 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
arnoaugustin 2014-10-27 10:24:01 +00:00
parent b4647a89fa
commit d3e9d0ef03

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;
}