mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
SMUtils.pm: update to version 1.11.1
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22874 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8987a1e275
commit
2d0c7e430a
@ -889,9 +889,9 @@ sub setReadingErrorState {
|
|||||||
my $error = shift;
|
my $error = shift;
|
||||||
my $errcode = shift // "none";
|
my $errcode = shift // "none";
|
||||||
|
|
||||||
readingsBeginUpdate ($hash);
|
readingsBeginUpdate($hash);
|
||||||
readingsBulkUpdateIfChanged ($hash, "Error", $error);
|
readingsBulkUpdate ($hash, "Error", $error);
|
||||||
readingsBulkUpdateIfChanged ($hash, "Errorcode", $errcode);
|
readingsBulkUpdate ($hash, "Errorcode", $errcode);
|
||||||
readingsBulkUpdate ($hash, "state", "Error");
|
readingsBulkUpdate ($hash, "state", "Error");
|
||||||
readingsEndUpdate ($hash,1);
|
readingsEndUpdate ($hash,1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user