MAX: set RSSI reading per device (patch by Wzut)

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8681 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2015-06-02 21:40:29 +00:00
parent 3d24e860f0
commit 6e4fbd9dd8

View File

@@ -878,6 +878,7 @@ MAX_Parse($$)
$state .= " (rf error)" if($shash->{rferror});
readingsBulkUpdate($shash, "state", $state);
readingsBulkUpdate($shash, "RSSI", $shash->{RSSI}) if ($shash->{RSSI});
readingsEndUpdate($shash, 1);
return $shash->{NAME}
}