change for addLog()

git-svn-id: https://svn.fhem.de/fhem/trunk@3832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig
2013-09-01 18:45:32 +00:00
parent c639ace790
commit 8654214342

View File

@@ -292,6 +292,9 @@ dewpoint_Notify($$)
if ($lastval =~ /BAT:/) {
$current = $lastval;
$current =~ s/BAT:/$sensor: $dewpoint BAT:/g;
} elsif ($lastval =~ /<</) {
$current = $lastval;
$current =~ s/<</$sensor:$dewpoint <</g;
} else {
$current = $lastval." ".$sensor.": ".$dewpoint;
}