git-svn-id: https://svn.fhem.de/fhem/trunk@3812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-08-27 20:06:18 +00:00
parent b5ce95a9fe
commit 09dcfeead2

View File

@@ -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 &deg;C</code></li>
<code>attr temperatures valueFormat { temperature => "%.1f &deg;C", humidity => "%.1f %" }</code></li>
<code>attr temperatures valueFormat %.1f &deg;C</code></br>
<code>attr temperatures valueFormat { temperature => "%.1f &deg;C", humidity => "%.1f %" }</code></br>
<code>attr temperatures valueFormat { ($READING eq 'temperature')?"%.1f &deg;C":undef }</code></li>
</ul><br>