2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 16:46:35 +00:00

commandref_frame.html: add ReadingsNum

git-svn-id: https://svn.fhem.de/fhem/trunk@6779 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-10-18 05:33:02 +00:00
parent dcb3a58e02
commit bd373c8253
2 changed files with 15 additions and 8 deletions

View File

@ -8,7 +8,7 @@
<noscript>
<link rel="stylesheet" type="text/css" href="../www/pgm2/style.css" />
</noscript>
<meta http-equiv="Content-type" content="text/html;charset=ISO-8859-1"/>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/fhem/icons/favicon.ico"/>
</head>
@ -1457,6 +1457,10 @@ The following local attributes are used by a wider range of devices:
ReadingsVal(&lt;devicename&gt;,&lt;reading&gt;,&lt;defaultvalue&gt;)<br>
Return the reading (the value in the Readings section of "list device")
</li><br>
<li>
ReadingsNum(&lt;devicename&gt;,&lt;reading&gt;,&lt;defaultvalue&gt;)<br>
Return the reading as a number, i.e. delete non-numerical values.
</li><br>
<li>
AttrVal(&lt;devicename&gt;,&lt;attribute&gt;,&lt;defaultvalue&gt;)<br>
Return the attribute of the device

View File

@ -10,18 +10,16 @@
</noscript>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="/fhem/icons/favicon.ico"/>
</head>
<body style="word-wrap: break-word;">
<div id="menuScrollArea">
<div id="logo"></div>
<div id="menu">
<h3>fhem.pl Referenz</h3>
Version: <a href="commandref.html">EN</a>&nbsp;<b>DE</b>
</div>
<div id="logo"></div>
<div id="menu">
<h3>fhem.pl Referenz</h3>
Version: <a href="commandref.html">EN</a>&nbsp;<b>DE</b>
</div>
</div>
<div id="right">
@ -1565,6 +1563,11 @@ Die folgenden lokalen Attribute werden von mehreren Ger&auml;te verwendet:
Gibt den Inhalt der &quot;readings&quot; zur&uuml;ck (den Inhalt der in
dem &quot;Readings&quot;-Abschnitt von "list device" angezeigt wird)
</li><br>
<li>
ReadingsNum(&lt;devicename&gt;,&lt;reading&gt;,&lt;defaultvalue&gt;)<br>
Wie ReadingsVal, loescht aber alles, was kein Zahl it, um es fuer
Berechnungen verwenden zu koennen.
</li><br>
<li>
AttrVal(&lt;devicename&gt;,&lt;attribute&gt;,&lt;defaultvalue&gt;)<br>
Gibt die gesetzteb Attribute des Ger&auml;tes zur&uuml;ck