2
0
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:
rudolfkoenig 2022-11-14 09:50:00 +00:00
parent 9bb6737dfa
commit 0393a4becb
2 changed files with 10 additions and 4 deletions

View File

@ -1947,8 +1947,11 @@ The following local attributes are used by a wider range of devices:
<br> <br>
<ul> <ul>
<li>Value(&lt;devicename&gt;)<br> <li>Value(&lt;devicename&gt;)<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(&lt;devicename&gt;, 'state', '') instead for
computational purposes.
</li><br> </li><br>
<li>OldValue(&lt;devicename&gt;) <li>OldValue(&lt;devicename&gt;)
<li>OldTimestamp(&lt;devicename&gt;)<br> <li>OldTimestamp(&lt;devicename&gt;)<br>

View File

@ -2092,8 +2092,11 @@ Die folgenden lokalen Attribute werden von mehreren Ger&auml;ten verwendet:
<br> <br>
<ul> <ul>
<li>Value(&lt;devicename&gt;)<br> <li>Value(&lt;devicename&gt;)<br>
liefert das Internal STATE zur&uuml;ck. liefert das Internal STATE zur&uuml;ck. Achtung: STATE wird in erster
</li><br> Linie f&uuml;r die Anzeige verwendet, und kann vom Benutzer mit dem
stateFormat Attribut ge&auml;ndert werden. F&uuml;r Berechnungen sollte
man stattdessen ReadingsVal(&lt;devicename&gt;, 'state', '') verwenden
(s.u.). </li><br>
<li>OldValue(&lt;devicename&gt;)</li> <li>OldValue(&lt;devicename&gt;)</li>
<li>OldTimestamp(&lt;devicename&gt;)<br> <li>OldTimestamp(&lt;devicename&gt;)<br>