70_ONKYO_AVR: 'model' Reading not written correctly

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@18569 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
delmar 2019-02-12 15:02:13 +00:00
parent 539d0e9a23
commit 58f15ab646
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

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