From 18baedb04b7d9d0103a564a7d1729d73a0ff53a4 Mon Sep 17 00:00:00 2001 From: Sailor <> Date: Mon, 8 Feb 2021 08:45:40 +0000 Subject: [PATCH] 73_GasCalculator: Bugfix - Handling of Readings with . git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@23699 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/73_GasCalculator.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/FHEM/73_GasCalculator.pm b/FHEM/73_GasCalculator.pm index 3d7dc5751..85dee5f06 100644 --- a/FHEM/73_GasCalculator.pm +++ b/FHEM/73_GasCalculator.pm @@ -287,7 +287,7 @@ sub GasCalculator_Set($@) #Log3 $GasCalcName, 5, $GasCalcName. "_Set - value : " . $value; ### For Test purpose only - push(@cList, "Test"); + #push(@cList, "Test"); ### Create set-List if(defined($hash->{READINGS})) { @@ -342,9 +342,9 @@ sub GasCalculator_Set($@) $ReturnMessage = $GasCalcName . " - Successfully synchromized Counter and Calculator with : " . $value . " kWh"; } ### For Test purpose only - elsif ($reading eq "Test") { - GasCalculator_MidnightTimer($hash); - } + #elsif ($reading eq "Test") { + # GasCalculator_MidnightTimer($hash); + #} elsif ($reading ne "?") { ### Create Log entries for debugging