diff --git a/fhem/CHANGED b/fhem/CHANGED index c7bcf7d26..ac7263691 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: 70_BRAVIA: fix channel presets, fix use of ReadingsAge - change: 93_DbRep: consideration of leap year/daylight saving time changed, activate support of Meta.pm - change: 74_AMADDevice: change to perl packages, add Meta and Installer diff --git a/fhem/FHEM/70_BRAVIA.pm b/fhem/FHEM/70_BRAVIA.pm index dd0645cf0..cd937175f 100644 --- a/fhem/FHEM/70_BRAVIA.pm +++ b/fhem/FHEM/70_BRAVIA.pm @@ -85,6 +85,7 @@ BEGIN { readingsBeginUpdate readingsDelete readingsEndUpdate + ReadingsAge ReadingsNum ReadingsTimestamp ReadingsVal @@ -1470,7 +1471,7 @@ sub ProcessCommandData ($$$) { if (ReadingsVal($name, "requestFormat", "") eq "json" && (!defined($hash->{helper}{device}{channelPreset}) || ReadingsVal($name, "state", "") ne "on")); $hash->{helper}{device}{channelPreset}{ $channelNo }{id} = $channelNo; - $hash->{helper}{device}{channelPreset}{ $channelNo }{name} = $channelName; + $hash->{helper}{device}{channelPreset}{ $channelNo }{name} = GetNormalizedName($channelName); } # get current system settings