SMUtils.pm: update to version 1.11.1

git-svn-id: https://svn.fhem.de/fhem/trunk@22874 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2020-09-28 16:42:36 +00:00
parent 4c028579f4
commit f07aa076b2

View File

@@ -889,11 +889,11 @@ sub setReadingErrorState {
my $error = shift;
my $errcode = shift // "none";
readingsBeginUpdate ($hash);
readingsBulkUpdateIfChanged ($hash, "Error", $error);
readingsBulkUpdateIfChanged ($hash, "Errorcode", $errcode);
readingsBulkUpdate ($hash, "state", "Error");
readingsEndUpdate ($hash,1);
readingsBeginUpdate($hash);
readingsBulkUpdate ($hash, "Error", $error);
readingsBulkUpdate ($hash, "Errorcode", $errcode);
readingsBulkUpdate ($hash, "state", "Error");
readingsEndUpdate ($hash,1);
return;
}