2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

93_DbLog: contrib 4.9.9

git-svn-id: https://svn.fhem.de/fhem/trunk@21036 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-01-22 23:24:11 +00:00
parent c70d86fe6e
commit 3ce2a6cfc4

View File

@ -1000,8 +1000,8 @@ sub DbLog_ParseEvent($$$$) {
if(!defined($reading)) { $reading = ""; }
if(!defined($value)) { $value = ""; }
if($value eq "") { # Default Splitting geändert 04.01.20 Forum: #106992
if($reading =~ /^.*:\s+$/) { # und 21.01.20 Forum: 106769
$reading = (split(":", $reading))[0];
if($event =~ /^.*:\s$/) { # und 21.01.20 Forum: 106769
$reading = (split(":", $event))[0];
} else {
$reading = "state";
$value = $event;