2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

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:
HCS 2019-08-21 12:14:56 +00:00
parent 205095825e
commit 195ebf1ced

View File

@ -176,7 +176,7 @@ sub KeyValueProtocol_Parse($$) {
$key = $newKey if ($newKey); $key = $newKey if ($newKey);
} }
readingsBulkUpdate($rhash, $key, $value); readingsBulkUpdate($rhash, $key, $value) if ($value);
} }
readingsEndUpdate($rhash, 1); readingsEndUpdate($rhash, 1);
@ -241,7 +241,7 @@ sub KeyValueProtocol_Parse($$) {
</li> </li>
</ul> </ul>
<br> <br>
<a name="KeyValueProtocol_Readings"></a> <a name="KeyValueProtocol_Readings"></a>
<b>Readings</b><br> <b>Readings</b><br>
<ul> <ul>