mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 11:26:55 +00:00
SMUtils.pm: update to v 1.11.1
git-svn-id: https://svn.fhem.de/fhem/trunk@22873 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
98d92a1c7b
commit
fd7fb62d24
@ -40,7 +40,7 @@ use FHEM::SynoModules::ErrCodes qw(:all); # Erro
|
||||
use GPUtils qw( GP_Import GP_Export );
|
||||
use Carp qw(croak carp);
|
||||
|
||||
use version; our $VERSION = version->declare('1.11.0');
|
||||
use version; our $VERSION = version->declare('1.11.1');
|
||||
|
||||
use Exporter ('import');
|
||||
our @EXPORT_OK = qw(
|
||||
@ -566,10 +566,10 @@ sub evaljson {
|
||||
else {
|
||||
$success = 0;
|
||||
|
||||
readingsBeginUpdate ($hash);
|
||||
readingsBulkUpdate ($hash, "Errorcode", "none");
|
||||
readingsBulkUpdate ($hash, "Error", "malformed JSON string received");
|
||||
readingsEndUpdate ($hash, 1);
|
||||
my $errorcode = "9000";
|
||||
my $error = expErrors($hash,$errorcode); # Fehlertext zum Errorcode ermitteln
|
||||
|
||||
setReadingErrorState ($hash, $error, $errorcode);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user