00_ZWDongle.pm: add readingsSingleUpdate (Forum #53240)

git-svn-id: https://svn.fhem.de/fhem/trunk@11428 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-05-10 20:31:59 +00:00
parent 3b05c5e45e
commit b63c792e2d

View File

@@ -416,9 +416,7 @@ ZWDongle_Get($@)
}
$cmd .= "_".join("_", @a) if(@a);
$hash->{READINGS}{$cmd}{VAL} = $msg;
$hash->{READINGS}{$cmd}{TIME} = TimeNow();
readingsSingleUpdate($hash, $cmd, $msg, 0);
return "$name $cmd => $msg";
}