fhem.pl: return error for unknown devices in setreading

git-svn-id: https://svn.fhem.de/fhem/trunk@6889 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-11-05 06:51:46 +00:00
parent c713ffe0f9
commit 56548fee35

View File

@@ -1857,7 +1857,7 @@ CommandSetReading($$)
}
readingsSingleUpdate($defs{$sdev}, $a[1], $a[2], 1);
}
return undef;
return join("\n", @rets);
}