mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
73_GasCalculator: Bugfix - SyncCounter
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24243 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d48a64896f
commit
9815c8614e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user