2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

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:
nasseeder1 2020-09-28 16:42:36 +00:00
parent fd7fb62d24
commit 7ecffb05cf

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;
}