diff --git a/fhem/CHANGED b/fhem/CHANGED index 873688259..2acc0235b 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: 42_AptToDate: fix state reading after getDistribution - feature: 49_SSCam: tooltip hints in camera devices, commandref revised - feature: 36_WMBUS: new attribute ignoreUnknownDataBlocks - feature: 49_SSCam: V8.0.0, new type "hls" of streaming devices, hls diff --git a/fhem/FHEM/42_AptToDate.pm b/fhem/FHEM/42_AptToDate.pm index 7d1a07087..c9b3c88f8 100644 --- a/fhem/FHEM/42_AptToDate.pm +++ b/fhem/FHEM/42_AptToDate.pm @@ -35,7 +35,7 @@ package main; use strict; use warnings; -my $version = "1.4.1"; +my $version = "1.4.2"; sub AptToDate_Initialize($) { @@ -872,7 +872,8 @@ sub WriteReadings($$) { readingsBulkUpdate( $hash, 'state', ( - scalar keys %{ $decode_json->{packages} } > 0 + (scalar keys %{ $decode_json->{packages} } > 0 + or scalar keys%{ $hash->{".fhem"}{aptget}{packages} } > 0) ? 'system updates available' : 'system is up to date' )