mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
73_ElectricityCalculator: feature: header and readingFnAttributes added
git-svn-id: https://svn.fhem.de/fhem/trunk@12278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
92351d6734
commit
6d4a62bb69
@ -61,6 +61,7 @@ sub ElectricityCalculator_Initialize($)
|
||||
$hash->{NotifyOrderPrefix} = "10-"; # Want to be called before the rest
|
||||
|
||||
$hash->{AttrList} = "disable:0,1 " .
|
||||
"header " .
|
||||
"ElectricityCounterOffset " .
|
||||
"ElectricityKwhPerCounts " .
|
||||
"BasicPricePerAnnum " .
|
||||
@ -69,7 +70,8 @@ sub ElectricityCalculator_Initialize($)
|
||||
"MonthOfAnnualReading " .
|
||||
"ReadingDestination:CalculatorDevice,CounterDevice " .
|
||||
"SiPrefixPower:W,kW,MW,GW " .
|
||||
"Currency:€,£,$ ";
|
||||
"Currency:€,£,$ " .
|
||||
$readingFnAttributes;
|
||||
}
|
||||
####END####### Initialize module ###############################################################################END#####
|
||||
|
||||
@ -1054,6 +1056,19 @@ sub ElectricityCalculator_Notify($$)
|
||||
</table>
|
||||
</ul></ul>
|
||||
|
||||
<ul><ul>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<tr><td><li><code>SiPrefixPower</code> : </li></td><td> One value of the pre-defined list: W (Watt), kW (Kilowatt), MW (Megawatt) or GW (Gigawatt).<BR>
|
||||
It defines which SI-prefix for the power value shall be used. The power value will be divided accordingly by multiples of 1000.
|
||||
The default value is W (Watt).<BR>
|
||||
</td></tr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ul></ul>
|
||||
|
||||
<BR>
|
||||
|
||||
<table>
|
||||
@ -1601,6 +1616,19 @@ sub ElectricityCalculator_Notify($$)
|
||||
</table>
|
||||
</ul></ul>
|
||||
|
||||
<ul><ul>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<tr><td><li><code>SiPrefixPower</code> : </li></td><td> Ein Wert der vorgegebenen Auswahlliste: W (Watt), kW (Kilowatt), MW (Megawatt) or GW (Gigawatt).<BR>
|
||||
Es definiert welcher SI-Prefix verwendet werden soll und teilt die Leistung entsprechend durch ein Vielfaches von 1000.
|
||||
Der Standard-Wert ist W (Watt).<BR>
|
||||
</td></tr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</ul></ul>
|
||||
|
||||
<BR>
|
||||
|
||||
<table>
|
||||
|
Loading…
Reference in New Issue
Block a user