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

76_SMAPortal: contrib 2.1.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19571 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-06-07 14:54:33 +00:00
parent cab39720b0
commit 834538032a

View File

@ -345,8 +345,8 @@ sub DbLog_split($$) {
my ($reading, $value, $unit);
if($event =~ m/L3_.*_Power/) {
$event =~ /^L1_(.*)_Power:\s(.*)\s(.*)/;
$reading = "L1_$1_Power";
$event =~ /^L3_(.*)_Power:\s(.*)\s(.*)/;
$reading = "L3_$1_Power";
$value = $2;
$unit = $3;
}