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:
parent
860733d16c
commit
3bf2bbbbff
@ -1857,7 +1857,7 @@ CommandSetReading($$)
|
||||
}
|
||||
readingsSingleUpdate($defs{$sdev}, $a[1], $a[2], 1);
|
||||
}
|
||||
return undef;
|
||||
return join("\n", @rets);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user