diff --git a/fhem/CHANGED b/fhem/CHANGED index f8b56286f..1c0f694c1 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. + - fix: 66_ECMD: use STATE not state for connection checking (forum #31307) - feature: 57_Calendar: enable gzipped ical files (forum #31845) - bugfix: 70_Jabber.pm: XMPP DNS SVR record query added - bugfix: 70_PIONEERAVR: fixed "missed to call readingsBeginUpdate first" diff --git a/fhem/FHEM/66_ECMD.pm b/fhem/FHEM/66_ECMD.pm index 4cf1ecfd5..488eafd28 100644 --- a/fhem/FHEM/66_ECMD.pm +++ b/fhem/FHEM/66_ECMD.pm @@ -532,7 +532,7 @@ sub ECMD_Read($) { my ($hash) = @_; - return undef unless($hash->{state} eq "opened"); # avoid reading from closed device + return undef unless($hash->{STATE} eq "opened"); # avoid reading from closed device my $buf = ECMD_SimpleRead($hash); return unless(defined($buf));