2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 22:56:34 +00:00

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 860733d16c
commit 3bf2bbbbff

View File

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