From 16d3e2eaac735bde885df48303895227b1b29f13 Mon Sep 17 00:00:00 2001 From: Sailor <> Date: Tue, 13 Apr 2021 18:35:48 +0000 Subject: [PATCH] 73_ElectricityCalculator: Bugfix - Midnight-Crash git-svn-id: https://svn.fhem.de/fhem/trunk@24247 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/73_ElectricityCalculator.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/73_ElectricityCalculator.pm b/fhem/FHEM/73_ElectricityCalculator.pm index a031d75af..7d863939e 100644 --- a/fhem/FHEM/73_ElectricityCalculator.pm +++ b/fhem/FHEM/73_ElectricityCalculator.pm @@ -391,7 +391,7 @@ sub ElectricityCalculator_Set($@) ### Create Log entries for debugging Log3 $ElectricityCalcName, 5, $ElectricityCalcName. " - Syncing Counter with :" . $value; - ### Sreach for the ReadingsName of the Current CounterValue + ### Serach for the ReadingsName of the Current CounterValue my @SearchResult = grep(/_CounterCurrent/, @cList); ### Get current CalculatorValue @@ -422,7 +422,7 @@ sub ElectricityCalculator_Set($@) $attr{$ElectricityCalcName}{ElectricityCounterOffset} = $CounterOffsetNew; ### Create ReturnMessage - $ReturnMessage = $ElectricityCalcName . " - Successfully synchromized Counter and Calculator with : " . $value . " kWh"; + $ReturnMessage = $ElectricityCalcName . " - Successfully synchronized Counter and Calculator with : " . $value . " kWh"; } ### For Test purpose only # elsif ($reading eq "Test")