diff --git a/fhem/FHEM/67_ECMDDevice.pm b/fhem/FHEM/67_ECMDDevice.pm
index e0537c125..b153c4fd4 100644
--- a/fhem/FHEM/67_ECMDDevice.pm
+++ b/fhem/FHEM/67_ECMDDevice.pm
@@ -79,16 +79,14 @@ ECMDDevice_Changed($$$)
{
my ($hash, $cmd, $value)= @_;
+
+ readingsBeginUpdate($hash);
+ readingsUpdate($hash, $cmd, $value);
+ readingsEndUpdate($hash, 1);
+
+ $hash->{STATE} = "$cmd $value";
+
my $name= $hash->{NAME};
-
- $hash->{READINGS}{$cmd}{TIME} = TimeNow();
- $hash->{READINGS}{$cmd}{VAL} = $value;
-
- $hash->{CHANGED}[0]= "$cmd: $value";
-
- DoTrigger($name, undef) if($init_done);
-
- $hash->{STATE} = "$cmd: $value";
Log GetLogLevel($name, 4), "ECMDDevice $name $cmd: $value";
return $hash->{STATE};
diff --git a/fhem/docs/commandref.html b/fhem/docs/commandref.html
index d1fde7f9c..0ac76836c 100644
--- a/fhem/docs/commandref.html
+++ b/fhem/docs/commandref.html
@@ -5618,6 +5618,17 @@ Attributes:
+
+ Attributes
+
ok
or the string error
.
+
+