mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
docu fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@5899 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
52ca76434a
commit
a22f301250
@ -175,7 +175,7 @@ LightScene_2html($)
|
||||
|
||||
$ret .= "</table></td></tr>";
|
||||
$ret .= "</table>";
|
||||
$ret .= "</br>";
|
||||
$ret .= "<br>";
|
||||
|
||||
return $ret;
|
||||
}
|
||||
@ -908,9 +908,9 @@ LightScene_editTable($) {
|
||||
in addition to reading names the list can also contain expressions of the form <code>abc -> xyz</code>
|
||||
or <code>get cba -> set uvw</code> to map reading abc to set xyz or get cba to set uvw. the list can be given as a
|
||||
string or as a perl expression enclosed in {} that returns this string.<br>
|
||||
<code>attr myReceiver lightSceneParamsToSave volume,channel</code></br>
|
||||
<code>attr myReceiver lightSceneParamsToSave volume,channel</code><br>
|
||||
<code>attr myHueDevice lightSceneParamsToSave {(Value($DEVICE) eq "off")?"state":"bri : xy"}</code></li>
|
||||
<code>attr myDimmer lightSceneParamsToSave state@{if($value=~m/(\d+)/){$1}else{$value}}</code></br>
|
||||
<code>attr myDimmer lightSceneParamsToSave state@{if($value=~m/(\d+)/){$1}else{$value}}</code><br>
|
||||
<li>lightSceneRestoreOnlyIfChanged<br>
|
||||
this attribute can be set on the lightscene and/or on the individual devices included in a scene.
|
||||
the device settings have precedence over the scene setting.<br>
|
||||
|
@ -474,7 +474,7 @@ mailcheck_Read($)
|
||||
<a name="mailcheck_Readings"></a>
|
||||
<b>Readings</b>
|
||||
<ul>
|
||||
<li>Subject</br>
|
||||
<li>Subject<br>
|
||||
the subject of the last mail received</li>
|
||||
</ul><br>
|
||||
|
||||
|
@ -961,7 +961,7 @@ readingsGroup_Attr($$$)
|
||||
<br>
|
||||
<code>define heizung readingsGroup t1:temperature t2:temperature t3:temperature<br>
|
||||
attr heizung notime 1<br>
|
||||
attr heizung mapping {'t1.temperature' => 'Vorlauf', 't2.temperature' => 'R&uuml;cklauf', 't3.temperature' => 'Zirkulation'}</br>
|
||||
attr heizung mapping {'t1.temperature' => 'Vorlauf', 't2.temperature' => 'R&uuml;cklauf', 't3.temperature' => 'Zirkulation'}<br>
|
||||
attr heizung style style="font-size:20px"<br>
|
||||
<br>
|
||||
define systemStatus readingsGroup sysstat<br>
|
||||
@ -1048,8 +1048,8 @@ readingsGroup_Attr($$$)
|
||||
Specify an sprintf style format string used to display the reading values. If the format string is undef
|
||||
this reading will be skipped. Can be given as a string, a perl expression returning a hash or a perl
|
||||
expression returning a string, e.g.:<br>
|
||||
<code>attr temperatures valueFormat %.1f °C</code></br>
|
||||
<code>attr temperatures valueFormat { temperature => "%.1f °C", humidity => "%.1f %" }</code></br>
|
||||
<code>attr temperatures valueFormat %.1f °C</code><br>
|
||||
<code>attr temperatures valueFormat { temperature => "%.1f °C", humidity => "%.1f %" }</code><br>
|
||||
<code>attr temperatures valueFormat { ($READING eq 'temperature')?"%.1f °C":undef }</code></li>
|
||||
<li>nameIcon<br>
|
||||
Specify the icon to be used instead of the reading name. Can be a simple string or a perl expression enclosed
|
||||
@ -1058,8 +1058,8 @@ readingsGroup_Attr($$$)
|
||||
<li>valueIcon<br>
|
||||
Specify an icon to be used instead of the reading value. Can be a simple string or a perl expression enclosed
|
||||
in {} that returns a hash that maps reading value to the icon name. e.g.:<br>
|
||||
<code>attr devices valueIcon $VALUE</code></br>
|
||||
<code>attr devices valueIcon {state => '%VALUE'}</code></br>
|
||||
<code>attr devices valueIcon $VALUE</code><br>
|
||||
<code>attr devices valueIcon {state => '%VALUE'}</code><br>
|
||||
<code>attr devices valueIcon {state => '%devStateIcon'}</code>
|
||||
<code>attr rgMediaPlayer valueIcon { "playStatus.paused" => "rc_PLAY", "playStatus.playing" => "rc_PAUSE" }</code></li>
|
||||
<li>commands<br>
|
||||
|
@ -666,9 +666,9 @@ readingsHistory_Attr($$$)
|
||||
<b>Set</b>
|
||||
<ul>
|
||||
<li>add ...<br>
|
||||
directly add text as new line to history.</br>
|
||||
directly add text as new line to history.<br>
|
||||
<li>clear<br>
|
||||
clear the history.</br>
|
||||
clear the history.<br>
|
||||
</ul><br>
|
||||
|
||||
<a name="readingsHistory_Get"></a>
|
||||
@ -707,8 +707,8 @@ readingsHistory_Attr($$$)
|
||||
Specify an sprintf style format string used to display the reading values. If the format string is undef
|
||||
this reading will be skipped. Can be given as a string, a perl expression returning a hash or a perl
|
||||
expression returning a string, e.g.:<br>
|
||||
<code>attr history valueFormat %.1f °C</code></br>
|
||||
<code>attr history valueFormat { temperature => "%.1f °C", humidity => "%.1f %" }</code></br>
|
||||
<code>attr history valueFormat %.1f °C</code><br>
|
||||
<code>attr history valueFormat { temperature => "%.1f °C", humidity => "%.1f %" }</code><br>
|
||||
<code>attr history valueFormat { ($READING eq 'temperature')?"%.1f °C":undef }</code></li>
|
||||
<li>rows<br>
|
||||
Number of history rows to show.</li>
|
||||
|
@ -310,7 +310,7 @@ usb-sensors-linux</a></li>
|
||||
<a name="CO20_Readings"></a>
|
||||
<b>Readings</b>
|
||||
<ul>
|
||||
<li>voc</br>
|
||||
<li>voc<br>
|
||||
CO2 equivalents in the range of 450-2000ppm.</li>
|
||||
</ul><br>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user