mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
10_IT.pm: don't give "Undefined value" messages as was with r6818
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6979 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
02d3ae60f2
commit
e3b457892a
@ -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;
|
||||
}
|
||||
|
||||
#############################
|
||||
|
Loading…
x
Reference in New Issue
Block a user