send always an external_name reading (also in "unknown" and "timeout" cases)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2235 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2012-12-01 01:07:00 +00:00
parent 61776559f6
commit 7bb05d2079

View File

@ -231,7 +231,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse-
if(AttrVal($name, "reverse-search-cache", "0") eq "1") if(AttrVal($name, "reverse-search-cache", "0") eq "1")
{ {
$hash->{helper}{CACHE}{$number} = "timeout"; $hash->{helper}{CACHE}{$number} = "timeout";
return undef; return "timeout";
} }
} }
else else
@ -256,7 +256,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse-
if(AttrVal($name, "reverse-search-cache", "0") eq "1") if(AttrVal($name, "reverse-search-cache", "0") eq "1")
{ {
$hash->{helper}{CACHE}{$number} = "timeout"; $hash->{helper}{CACHE}{$number} = "timeout";
return undef; return "timeout";
} }
} }
@ -276,7 +276,7 @@ if(AttrVal($name, "reverse-search", "none") eq "all" or AttrVal($name, "reverse-
# If no result is available set cache result and return undefined # If no result is available set cache result and return undefined
$hash->{helper}{CACHE}{$number} = "unknown"; $hash->{helper}{CACHE}{$number} = "unknown";
return undef return "unknown";
} }