mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-03 13:45:36 +00:00
73_GasCalculator: Bugfix - Handling of Readings with .
git-svn-id: https://svn.fhem.de/fhem/trunk@23699 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
960ac6b1fa
commit
52f8d897e2
@ -287,7 +287,7 @@ sub GasCalculator_Set($@)
|
|||||||
#Log3 $GasCalcName, 5, $GasCalcName. "_Set - value : " . $value;
|
#Log3 $GasCalcName, 5, $GasCalcName. "_Set - value : " . $value;
|
||||||
|
|
||||||
### For Test purpose only
|
### For Test purpose only
|
||||||
push(@cList, "Test");
|
#push(@cList, "Test");
|
||||||
|
|
||||||
### Create set-List
|
### Create set-List
|
||||||
if(defined($hash->{READINGS})) {
|
if(defined($hash->{READINGS})) {
|
||||||
@ -342,9 +342,9 @@ sub GasCalculator_Set($@)
|
|||||||
$ReturnMessage = $GasCalcName . " - Successfully synchromized Counter and Calculator with : " . $value . " kWh";
|
$ReturnMessage = $GasCalcName . " - Successfully synchromized Counter and Calculator with : " . $value . " kWh";
|
||||||
}
|
}
|
||||||
### For Test purpose only
|
### For Test purpose only
|
||||||
elsif ($reading eq "Test") {
|
#elsif ($reading eq "Test") {
|
||||||
GasCalculator_MidnightTimer($hash);
|
# GasCalculator_MidnightTimer($hash);
|
||||||
}
|
#}
|
||||||
elsif ($reading ne "?")
|
elsif ($reading ne "?")
|
||||||
{
|
{
|
||||||
### Create Log entries for debugging
|
### Create Log entries for debugging
|
||||||
|
Loading…
x
Reference in New Issue
Block a user