From 33f6b7fef81cc7eea2586a1a918c70ed4694fed7 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Fri, 20 Nov 2020 20:34:44 +0000 Subject: [PATCH] 76_SMAPortal: contrib 3.7.0 git-svn-id: https://svn.fhem.de/fhem/trunk@23195 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/DS_Starter/76_SMAPortal.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/DS_Starter/76_SMAPortal.pm b/fhem/contrib/DS_Starter/76_SMAPortal.pm index f183a04c9..d389019b1 100644 --- a/fhem/contrib/DS_Starter/76_SMAPortal.pm +++ b/fhem/contrib/DS_Starter/76_SMAPortal.pm @@ -3310,8 +3310,8 @@ sub extractConsumerEnergySetting { my $ad_content = encode("utf8", $data->decoded_content); - my ($gcval) = $ad_content =~ /var\sgridConsumptionValue\s=\s(.*?);/x // "undefined"; - my ($pvval) = $ad_content =~ /var\spvValue\s=\s(.*?);/x // "undefined"; + my $gcval = $ad_content =~ /var\sgridConsumptionValue\s=\s(.*?);/x // "undefined"; + my $pvval = $ad_content =~ /var\spvValue\s=\s(.*?);/x // "undefined"; Log3 ($name, 1, "$name - CONTENT: $ad_content"); Log3 ($name, 1, "$name - 1. gcval: $gcval, pvval: $pvval ");