2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

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 75b5967855
commit 2a0668ab3f

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";
}