36_KeyValueProtokol.pm: prevent empty readings
git-svn-id: https://svn.fhem.de/fhem/trunk@20039 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -176,7 +176,7 @@ sub KeyValueProtocol_Parse($$) {
|
||||
$key = $newKey if ($newKey);
|
||||
}
|
||||
|
||||
readingsBulkUpdate($rhash, $key, $value);
|
||||
readingsBulkUpdate($rhash, $key, $value) if ($value);
|
||||
}
|
||||
|
||||
readingsEndUpdate($rhash, 1);
|
||||
|
||||
Reference in New Issue
Block a user