From d202bdfcb14cad573b9236d9e785244482766ab6 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Tue, 12 Feb 2013 12:13:00 +0000 Subject: [PATCH] $value -> Value git-svn-id: https://svn.fhem.de/fhem/trunk@2704 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/docs/faq.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/docs/faq.html b/fhem/docs/faq.html index e25a94568..122a66325 100644 --- a/fhem/docs/faq.html +++ b/fhem/docs/faq.html @@ -336,21 +336,21 @@ by fhem.pl?
   # Check simply the value. It is the same as seen in "list"
-  fhem> {$value{myfht}}
+  fhem> {Value(myfht)}
   measured-temp: 23.8 (Celsius)
 
   # Get the second word, so we can compare it.
-  fhem> { my @a = split(" ", $value{myfht});; $a[1] }
+  fhem> { my @a = split(" ", Value(myfht));; $a[1] }
   23.8
 
   # Set the ventilator on now, if its too hot.
-  fhem> { my @a = split(" ", $value{myfht});; fhem("set ventilator on") if($a[1] > 25.0) }
+  fhem> { my @a = split(" ", Value(myfht));; fhem("set ventilator on") if($a[1] > 25.0) }
 
   # Now do this regularly
-  fhem> define chilldown at +*00:30:00 { my @a = split(" ", $value{myfht});; fhem("set ventilator on") if($a[1] > 25.0) }
+  fhem> define chilldown at +*00:30:00 { my @a = split(" ", Value(myfht));; fhem("set ventilator on") if($a[1] > 25.0) }
 
   # An alternative:
-  fhem> define chilldown at +*00:30:00 { fhem("set ventilator on") if($value{myfht} gt "measured-temp: 25.0") }
+  fhem> define chilldown at +*00:30:00 { fhem("set ventilator on") if(Value(myfht) gt "measured-temp: 25.0") }