mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 11:26:55 +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:
parent
b4647a89fa
commit
d3e9d0ef03
@ -58,8 +58,6 @@ IT_SetState($$$$)
|
|||||||
{
|
{
|
||||||
my ($hash, $tim, $vt, $val) = @_;
|
my ($hash, $tim, $vt, $val) = @_;
|
||||||
|
|
||||||
$val = $1 if($val =~ m/^(.*) \d+$/);
|
|
||||||
return "Undefined value $val" if(!defined($it_c2b{$val}));
|
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user