mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 09:49:50 +00:00
commandref.html: Typo & Spelling fixxes from Christoph Morrison (Forum #122289)
git-svn-id: https://svn.fhem.de/fhem/trunk@24814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
566f95d3f3
commit
a032995903
@ -1933,30 +1933,31 @@ The following local attributes are used by a wider range of devices:
|
||||
<br>
|
||||
<ul>
|
||||
<li>Value(<devicename>)<br>
|
||||
returns the state of the device (the string you see in paranthesis in
|
||||
Returns the state of the device (the string you see in parenthesis in
|
||||
the output of the list command).
|
||||
</li><br>
|
||||
<li>OldValue(<devicename>)
|
||||
<li>OldTimestamp(<devicename>)<br>
|
||||
returns the old value/timestamp of the device.
|
||||
Returns the old value/timestamp of the device.
|
||||
</li><br>
|
||||
<li>
|
||||
ReadingsVal(<devicename>,<reading>,<defaultvalue>)<br>
|
||||
Return the reading (the value in the Readings section of "list device")
|
||||
Returns the reading (the value in the Readings section of "list device")
|
||||
</li><br>
|
||||
<li>
|
||||
ReadingsNum(<devicename>,<reading>,
|
||||
<defaultvalue>,<round>)<br>
|
||||
Return the first number from a reading value.
|
||||
Round id to <round> devimal places (optional parameter).
|
||||
Returns the first number from a reading value.
|
||||
Round it to <round> decimal places (optional parameter). If <round> exeeds the length of
|
||||
the factional part, 0's will be padded.
|
||||
</li><br>
|
||||
<li>ReadingsTimestamp(<devicename>,<reading>,<
|
||||
defaultvalue>)<br>
|
||||
returns the timestamp of the reading.
|
||||
Returns the timestamp of a reading.
|
||||
</li><br>
|
||||
<li>ReadingsAge(<devicename>,<reading>,<defaultvalue>)
|
||||
<br>
|
||||
returns the age of the reading in seconds.
|
||||
Returns the age of a reading in seconds.
|
||||
</li><br>
|
||||
|
||||
<li>
|
||||
@ -1974,7 +1975,7 @@ The following local attributes are used by a wider range of devices:
|
||||
|
||||
<li>
|
||||
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
||||
Return the attribute of the device
|
||||
Returns the attribute of a device
|
||||
<br><br>
|
||||
{ Value("wz") }<br>
|
||||
{ OldValue("wz") }<br>
|
||||
@ -1999,7 +2000,8 @@ The following local attributes are used by a wider range of devices:
|
||||
InternalNum(<devicename>,<property>,
|
||||
<defaultvalue>,<round>)<br>
|
||||
Return the first number from an internal value.
|
||||
Round id to <round> devimal places (optional parameter).
|
||||
Round it to <round> decimal places (optional parameter). If <round> exeeds the length of
|
||||
the factional part, 0's will be padded.
|
||||
</li><br>
|
||||
</ul>
|
||||
</li><br>
|
||||
|
@ -2095,7 +2095,8 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
|
||||
<defaultvalue>,<round>)<br>
|
||||
Gibt die erste Zahl aus dem Readingswert zurück.
|
||||
Falls <round> spezifiziert ist, wird sie auf diese Anzahl von
|
||||
Dezimalstellen gerundet.
|
||||
Dezimalstellen gerundet und ggf. mit 0 aufgefüllt, wenn <round>
|
||||
größer ist als die Anzahl der Dezimalstellen.
|
||||
</li><br>
|
||||
<li>ReadingsTimestamp(<devicename>,
|
||||
<reading>,<defaultvalue>)<br>
|
||||
@ -2135,7 +2136,8 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
|
||||
<defaultvalue>,<round>)<br>
|
||||
Gibt die erste Zahl aus dem Attributwert zurück.
|
||||
Falls <round> spezifiziert ist, wird sie auf diese Anzahl von
|
||||
Dezimalstellen gerundet.
|
||||
Dezimalstellen gerundet und ggf. mit 0 aufgefüllt, wenn <round>
|
||||
größer ist als die Anzahl der Dezimalstellen.
|
||||
</li><br>
|
||||
<li>
|
||||
InternalVal(<devicename>,<internal>,
|
||||
|
Loading…
Reference in New Issue
Block a user