From 3a078403e41d81e90b1192b9560d190aa2a8de3c Mon Sep 17 00:00:00 2001 From: sailor-fhem Date: Wed, 5 Oct 2016 18:40:55 +0000 Subject: [PATCH] 73_GasCalculator: feature: header and readingFnAttributes added git-svn-id: https://svn.fhem.de/fhem/trunk@12279 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/73_GasCalculator.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/73_GasCalculator.pm b/fhem/FHEM/73_GasCalculator.pm index 210adf60f..d343b2917 100644 --- a/fhem/FHEM/73_GasCalculator.pm +++ b/fhem/FHEM/73_GasCalculator.pm @@ -62,6 +62,7 @@ sub GasCalculator_Initialize($) $hash->{NotifyOrderPrefix} = "10-"; # Want to be called before the rest $hash->{AttrList} = "disable:0,1 " . + "header " . "GasCounterOffset " . "GasCubicPerCounts " . "GaszValue " . @@ -72,7 +73,8 @@ sub GasCalculator_Initialize($) "MonthOfAnnualReading " . "ReadingDestination:CalculatorDevice,CounterDevice " . "Volume:m³,ft³ " . - "Currency:€,£,$ "; + "Currency:€,£,$ " . + $readingFnAttributes; } ####END####### Initialize module ###############################################################################END#####