Value Of

Returns the analog value of a unit. If the unit is “dimmable” and a pseudo the value can return any real number, not just integers and can be positive or negative. If the unit is a real device and is dimmable then the value will be between 0 and 100. If not dimmable the value will be 0 or non 0 to indicate on or off.


value of (name of a unit)


if value of "Temperature" is greater than 70 then
  turnoff "heating"
end if
set value of "Daily Rainfall" to ((value of "Daily Rainfall") + (value of "Hourly Rainfall"))
dictionary/unitinformation/valueof.txt · Last modified: 2009/09/27 15:19 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0