73_GasCalculator: Bugfix - SyncCounter

git-svn-id: https://svn.fhem.de/fhem/trunk@24243 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Sailor
2021-04-13 18:31:26 +00:00
parent 0e7c06eda8
commit 02f71119f0

View File

@@ -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);