mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
36_KeyValueProtocol.pm: improved empty value detection
git-svn-id: https://svn.fhem.de/fhem/trunk@20300 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
43a7df3df5
commit
e7d8a54d3d
@ -176,7 +176,7 @@ sub KeyValueProtocol_Parse($$) {
|
||||
$key = $newKey if ($newKey);
|
||||
}
|
||||
|
||||
readingsBulkUpdate($rhash, $key, $value) if ($value);
|
||||
readingsBulkUpdate($rhash, $key, $value) if ($value ne "");
|
||||
}
|
||||
|
||||
readingsEndUpdate($rhash, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user