mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
change for addLog()
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3832 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3a149de031
commit
286a0192fa
@ -292,6 +292,9 @@ dewpoint_Notify($$)
|
|||||||
if ($lastval =~ /BAT:/) {
|
if ($lastval =~ /BAT:/) {
|
||||||
$current = $lastval;
|
$current = $lastval;
|
||||||
$current =~ s/BAT:/$sensor: $dewpoint BAT:/g;
|
$current =~ s/BAT:/$sensor: $dewpoint BAT:/g;
|
||||||
|
} elsif ($lastval =~ /<</) {
|
||||||
|
$current = $lastval;
|
||||||
|
$current =~ s/<</$sensor:$dewpoint <</g;
|
||||||
} else {
|
} else {
|
||||||
$current = $lastval." ".$sensor.": ".$dewpoint;
|
$current = $lastval." ".$sensor.": ".$dewpoint;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user