diff --git a/CHANGED b/CHANGED index 65d0c84d4..f36e67b95 100644 --- a/CHANGED +++ b/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_ONKYO_AVR: model Reading not written correctly - feature: 93_DbRep: executeBeforeProc / executeAfterProc is now available for sqlCmd,sumValue, maxValue, minValue, diffValue, averageValue diff --git a/FHEM/70_ONKYO_AVR.pm b/FHEM/70_ONKYO_AVR.pm index 7aece23d8..353f66ea0 100644 --- a/FHEM/70_ONKYO_AVR.pm +++ b/FHEM/70_ONKYO_AVR.pm @@ -1849,8 +1849,8 @@ sub ONKYO_AVR_Read2($$$) { || $attr{$name}{model} ne $hash->{helper}{receiver}{device}{$reading} ) { - $attr{$name}{model} = - $hash->{helper}{receiver}{device}{$reading}; + readingsBulkUpdate( $hash, $reading, + $hash->{helper}{receiver}{device}{$reading} ); } }