mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
73_WaterCalculator: Bugfix - Midnight-Crash
git-svn-id: https://svn.fhem.de/fhem/trunk@24246 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e39dbff541
commit
903d85a585
@ -391,7 +391,7 @@ sub WaterCalculator_Set($@)
|
||||
### Create Log entries for debugging
|
||||
Log3 $WaterCalcName, 5, $WaterCalcName. " - 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 WaterCalculator_Set($@)
|
||||
$attr{$WaterCalcName}{WaterCounterOffset} = $CounterOffsetNew;
|
||||
|
||||
### Create ReturnMessage
|
||||
$ReturnMessage = $WaterCalcName . " - Successfully synchromized Counter and Calculator with : " . $value . " kWh";
|
||||
$ReturnMessage = $WaterCalcName . " - Successfully synchronized Counter and Calculator with : " . $value . " kWh";
|
||||
}
|
||||
### For Test purpose only
|
||||
# elsif ($reading eq "Test")
|
||||
|
Loading…
x
Reference in New Issue
Block a user