This is an old revision of the document!
Set the value of a unit as a counter.
set value of (name of pseudo unit)
--increment a counter set value of "Inside Motion Count" by 1 set value of “overhead light” to 50 in 10 * minutes for 30 * minutes -- and an example preserving the timestamp set value of “yesterdays low temp” to (value of “todays low temp”) timestamp (timestamp of “todays low temp”)
Setting the value to 0 will execute the OFF script, if any. Setting the value to a non-zero value will run the ON script if any.
You can use this verb instead of the dim/bright commands, but the values are limited to integers between 0 and 100 in that case.