mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
93_DbLog: fix change off V4.9.4 in default splitting. Forum:#106992
git-svn-id: https://svn.fhem.de/fhem/trunk@20883 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5cde867a19
commit
1cbc52768b
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 93_DbLog: fix change off V4.9.4 in default splitting. Forum:#106992
|
||||
- bugfix: 88_HMCCU: Do not touch state during device definition
|
||||
- bugfix: 70_VIERA: correction of "Rolling Key"
|
||||
- feature: 70_VIERA: add. GetStatus after on_off command
|
||||
|
@ -30,6 +30,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
||||
|
||||
# Version History intern by DS_Starter:
|
||||
our %DbLog_vNotesIntern = (
|
||||
"4.9.6" => "04.01.2020 fix change off 4.9.4 in default splitting. Forum: #106992 ",
|
||||
"4.9.5" => "01.01.2020 do not reopen database connection if device is disabled (fix) ",
|
||||
"4.9.4" => "29.12.2019 correct behavior if value is empty and attribute addStateEvent is set (default), Forum: #106769 ",
|
||||
"4.9.3" => "28.12.2019 check date/time format got from SVG, Forum: #101005 ",
|
||||
@ -995,9 +996,13 @@ sub DbLog_ParseEvent($$$$) {
|
||||
#default
|
||||
if(!defined($reading)) { $reading = ""; }
|
||||
if(!defined($value)) { $value = ""; }
|
||||
if($value eq "" && !AttrVal($name, "addStateEvent", 1)) {
|
||||
$reading = "state";
|
||||
$value = $event;
|
||||
if($value eq "") { # Default Splitting geändert 04.01.20 Forum: #106992
|
||||
if($reading =~ /:$/) {
|
||||
$reading = (split(":", $reading))[0];
|
||||
} else {
|
||||
$reading = "state";
|
||||
$value = $event;
|
||||
}
|
||||
}
|
||||
|
||||
#globales Abfangen von
|
||||
|
@ -30,7 +30,7 @@ no if $] >= 5.017011, warnings => 'experimental::smartmatch';
|
||||
|
||||
# Version History intern by DS_Starter:
|
||||
our %DbLog_vNotesIntern = (
|
||||
"4.9.6" => "04.01.2020 fix change in 4.9.4 in default splitting. Forum: #106992 ",
|
||||
"4.9.6" => "04.01.2020 fix change off 4.9.4 in default splitting. Forum: #106992 ",
|
||||
"4.9.5" => "01.01.2020 do not reopen database connection if device is disabled (fix) ",
|
||||
"4.9.4" => "29.12.2019 correct behavior if value is empty and attribute addStateEvent is set (default), Forum: #106769 ",
|
||||
"4.9.3" => "28.12.2019 check date/time format got from SVG, Forum: #101005 ",
|
||||
|
Loading…
Reference in New Issue
Block a user