mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
73_ElectricityCalculator: feature: header and readingFnAttributes added
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12278 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cbff87f7ed
commit
f8c291d1ec
@ -61,6 +61,7 @@ sub ElectricityCalculator_Initialize($)
|
|||||||
$hash->{NotifyOrderPrefix} = "10-"; # Want to be called before the rest
|
$hash->{NotifyOrderPrefix} = "10-"; # Want to be called before the rest
|
||||||
|
|
||||||
$hash->{AttrList} = "disable:0,1 " .
|
$hash->{AttrList} = "disable:0,1 " .
|
||||||
|
"header " .
|
||||||
"ElectricityCounterOffset " .
|
"ElectricityCounterOffset " .
|
||||||
"ElectricityKwhPerCounts " .
|
"ElectricityKwhPerCounts " .
|
||||||
"BasicPricePerAnnum " .
|
"BasicPricePerAnnum " .
|
||||||
@ -69,7 +70,8 @@ sub ElectricityCalculator_Initialize($)
|
|||||||
"MonthOfAnnualReading " .
|
"MonthOfAnnualReading " .
|
||||||
"ReadingDestination:CalculatorDevice,CounterDevice " .
|
"ReadingDestination:CalculatorDevice,CounterDevice " .
|
||||||
"SiPrefixPower:W,kW,MW,GW " .
|
"SiPrefixPower:W,kW,MW,GW " .
|
||||||
"Currency:€,£,$ ";
|
"Currency:€,£,$ " .
|
||||||
|
$readingFnAttributes;
|
||||||
}
|
}
|
||||||
####END####### Initialize module ###############################################################################END#####
|
####END####### Initialize module ###############################################################################END#####
|
||||||
|
|
||||||
@ -1054,6 +1056,19 @@ sub ElectricityCalculator_Notify($$)
|
|||||||
</table>
|
</table>
|
||||||
</ul></ul>
|
</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>
|
<BR>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
@ -1601,6 +1616,19 @@ sub ElectricityCalculator_Notify($$)
|
|||||||
</table>
|
</table>
|
||||||
</ul></ul>
|
</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>
|
<BR>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user