mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-12 02:39:57 +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>
|
<br>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Value(<devicename>)<br>
|
<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).
|
the output of the list command).
|
||||||
</li><br>
|
</li><br>
|
||||||
<li>OldValue(<devicename>)
|
<li>OldValue(<devicename>)
|
||||||
<li>OldTimestamp(<devicename>)<br>
|
<li>OldTimestamp(<devicename>)<br>
|
||||||
returns the old value/timestamp of the device.
|
Returns the old value/timestamp of the device.
|
||||||
</li><br>
|
</li><br>
|
||||||
<li>
|
<li>
|
||||||
ReadingsVal(<devicename>,<reading>,<defaultvalue>)<br>
|
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><br>
|
||||||
<li>
|
<li>
|
||||||
ReadingsNum(<devicename>,<reading>,
|
ReadingsNum(<devicename>,<reading>,
|
||||||
<defaultvalue>,<round>)<br>
|
<defaultvalue>,<round>)<br>
|
||||||
Return the first number from a reading value.
|
Returns the first number from a reading 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>
|
</li><br>
|
||||||
<li>ReadingsTimestamp(<devicename>,<reading>,<
|
<li>ReadingsTimestamp(<devicename>,<reading>,<
|
||||||
defaultvalue>)<br>
|
defaultvalue>)<br>
|
||||||
returns the timestamp of the reading.
|
Returns the timestamp of a reading.
|
||||||
</li><br>
|
</li><br>
|
||||||
<li>ReadingsAge(<devicename>,<reading>,<defaultvalue>)
|
<li>ReadingsAge(<devicename>,<reading>,<defaultvalue>)
|
||||||
<br>
|
<br>
|
||||||
returns the age of the reading in seconds.
|
Returns the age of a reading in seconds.
|
||||||
</li><br>
|
</li><br>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
@ -1974,7 +1975,7 @@ The following local attributes are used by a wider range of devices:
|
|||||||
|
|
||||||
<li>
|
<li>
|
||||||
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
||||||
Return the attribute of the device
|
Returns the attribute of a device
|
||||||
<br><br>
|
<br><br>
|
||||||
{ Value("wz") }<br>
|
{ Value("wz") }<br>
|
||||||
{ OldValue("wz") }<br>
|
{ OldValue("wz") }<br>
|
||||||
@ -1999,7 +2000,8 @@ The following local attributes are used by a wider range of devices:
|
|||||||
InternalNum(<devicename>,<property>,
|
InternalNum(<devicename>,<property>,
|
||||||
<defaultvalue>,<round>)<br>
|
<defaultvalue>,<round>)<br>
|
||||||
Return the first number from an internal value.
|
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>
|
</li><br>
|
||||||
</ul>
|
</ul>
|
||||||
</li><br>
|
</li><br>
|
||||||
|
@ -2095,7 +2095,8 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
|
|||||||
<defaultvalue>,<round>)<br>
|
<defaultvalue>,<round>)<br>
|
||||||
Gibt die erste Zahl aus dem Readingswert zurück.
|
Gibt die erste Zahl aus dem Readingswert zurück.
|
||||||
Falls <round> spezifiziert ist, wird sie auf diese Anzahl von
|
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><br>
|
||||||
<li>ReadingsTimestamp(<devicename>,
|
<li>ReadingsTimestamp(<devicename>,
|
||||||
<reading>,<defaultvalue>)<br>
|
<reading>,<defaultvalue>)<br>
|
||||||
@ -2135,7 +2136,8 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
|
|||||||
<defaultvalue>,<round>)<br>
|
<defaultvalue>,<round>)<br>
|
||||||
Gibt die erste Zahl aus dem Attributwert zurück.
|
Gibt die erste Zahl aus dem Attributwert zurück.
|
||||||
Falls <round> spezifiziert ist, wird sie auf diese Anzahl von
|
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><br>
|
||||||
<li>
|
<li>
|
||||||
InternalVal(<devicename>,<internal>,
|
InternalVal(<devicename>,<internal>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user