mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 11:26:55 +00:00
docu fix
git-svn-id: https://svn.fhem.de/fhem/trunk@3812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
280185a0d2
commit
951172471a
@ -508,8 +508,8 @@ readingsGroup_Get($@)
|
||||
<li>valueFormat<br>
|
||||
Specify an sprintf style format string used to display the reading values. Can be given as a string,
|
||||
a perl expression returninga hash or a perl expression returning a string, e.g.:<br>
|
||||
<code>attr temperatures valueFormat %.1f °C</code></li>
|
||||
<code>attr temperatures valueFormat { temperature => "%.1f °C", humidity => "%.1f %" }</code></li>
|
||||
<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>
|
||||
</ul><br>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user