73_GasCalculator: Bugfix - SyncCounter
git-svn-id: https://svn.fhem.de/fhem/trunk@24243 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -392,7 +392,7 @@ sub GasCalculator_Set($@)
|
||||
Log3 $GasCalcName, 5, $GasCalcName. " - Syncing Counter with :" . $value;
|
||||
|
||||
### Sreach for the ReadingsName of the Current CounterValue
|
||||
my @SearchResult = grep(/_CounterCurrent/, @cList);
|
||||
my @SearchResult = grep(/_Meter/, @cList);
|
||||
|
||||
### Get current CalculatorValue
|
||||
my $CalculaterValueCurrent = ReadingsVal($GasCalcName, $SearchResult[0], 0);
|
||||
|
||||
Reference in New Issue
Block a user