change for addLog()

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig
2013-09-01 18:45:32 +00:00
parent 57b5e99a27
commit a14e0f030a

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;
}