mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
commandref_frame.html: better Value doc (Forum #130244)
git-svn-id: https://svn.fhem.de/fhem/trunk@26700 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9bb6737dfa
commit
0393a4becb
@ -1947,8 +1947,11 @@ 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 parenthesis 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). Note: STATE is meant for display
|
||||||
|
purposes, and can be customized by the user via the stateFormat
|
||||||
|
attribute. Use ReadingsVal(<devicename>, 'state', '') instead for
|
||||||
|
computational purposes.
|
||||||
</li><br>
|
</li><br>
|
||||||
<li>OldValue(<devicename>)
|
<li>OldValue(<devicename>)
|
||||||
<li>OldTimestamp(<devicename>)<br>
|
<li>OldTimestamp(<devicename>)<br>
|
||||||
|
@ -2092,8 +2092,11 @@ Die folgenden lokalen Attribute werden von mehreren Geräten verwendet:
|
|||||||
<br>
|
<br>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Value(<devicename>)<br>
|
<li>Value(<devicename>)<br>
|
||||||
liefert das Internal STATE zurück.
|
liefert das Internal STATE zurück. Achtung: STATE wird in erster
|
||||||
</li><br>
|
Linie für die Anzeige verwendet, und kann vom Benutzer mit dem
|
||||||
|
stateFormat Attribut geändert werden. Für Berechnungen sollte
|
||||||
|
man stattdessen ReadingsVal(<devicename>, 'state', '') verwenden
|
||||||
|
(s.u.). </li><br>
|
||||||
|
|
||||||
<li>OldValue(<devicename>)</li>
|
<li>OldValue(<devicename>)</li>
|
||||||
<li>OldTimestamp(<devicename>)<br>
|
<li>OldTimestamp(<devicename>)<br>
|
||||||
|
Loading…
Reference in New Issue
Block a user