diff --git a/fhem/CHANGED b/fhem/CHANGED index 6023eda02..1f582fccd 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 74_AMADDevice: Version 4.0.1 Charset utf8 - changed: 93_DBLog: V.2.21.3, commandref revised - new: 74_AMADDevice: New Version of AMAD (AMADNG) Verion 4.0 - new: 73_AMADCommBridge: New Version of AMAD (AMADNG) Verion 4.0 diff --git a/fhem/FHEM/74_AMADDevice.pm b/fhem/FHEM/74_AMADDevice.pm index 6410b4631..77dcddfc3 100644 --- a/fhem/FHEM/74_AMADDevice.pm +++ b/fhem/FHEM/74_AMADDevice.pm @@ -54,7 +54,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode "; eval "use JSON;1" or $missingModul .= "JSON "; -my $modulversion = "4.0.0"; +my $modulversion = "4.0.1"; my $flowsetversion = "4.0.0"; @@ -377,6 +377,7 @@ sub AMADDevice_WriteReadings($$) { $v =~ s/\bnull\b/off/g if( ($t eq "nextAlarmDay" or $t eq "nextAlarmTime") and $v eq "null" ); $v =~ s/\bnull\b//g; + $v = encode_utf8($v); readingsBulkUpdateIfChanged($hash, $t, $v, 1) if( defined( $v ) and ($t ne 'deviceState' or $t ne 'incomingCallerName'