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:
parent
dcb3a58e02
commit
bd373c8253
@ -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(<devicename>,<reading>,<defaultvalue>)<br>
|
||||
Return the reading (the value in the Readings section of "list device")
|
||||
</li><br>
|
||||
<li>
|
||||
ReadingsNum(<devicename>,<reading>,<defaultvalue>)<br>
|
||||
Return the reading as a number, i.e. delete non-numerical values.
|
||||
</li><br>
|
||||
<li>
|
||||
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
||||
Return the attribute of the device
|
||||
|
@ -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> <b>DE</b>
|
||||
</div>
|
||||
<div id="logo"></div>
|
||||
<div id="menu">
|
||||
<h3>fhem.pl Referenz</h3>
|
||||
Version: <a href="commandref.html">EN</a> <b>DE</b>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="right">
|
||||
@ -1565,6 +1563,11 @@ Die folgenden lokalen Attribute werden von mehreren Geräte verwendet:
|
||||
Gibt den Inhalt der "readings" zurück (den Inhalt der in
|
||||
dem "Readings"-Abschnitt von "list device" angezeigt wird)
|
||||
</li><br>
|
||||
<li>
|
||||
ReadingsNum(<devicename>,<reading>,<defaultvalue>)<br>
|
||||
Wie ReadingsVal, loescht aber alles, was kein Zahl it, um es fuer
|
||||
Berechnungen verwenden zu koennen.
|
||||
</li><br>
|
||||
<li>
|
||||
AttrVal(<devicename>,<attribute>,<defaultvalue>)<br>
|
||||
Gibt die gesetzteb Attribute des Gerätes zurück
|
||||
|
Loading…
x
Reference in New Issue
Block a user