The following is my first rules attempt to turn off the power on my home office at 10 PM. The variable GF_Office_Power variable is an ON/OFF switch defined in items as well as sitemap
import java.util.Random
/* This is a test rule which will turn off office power if time > 22:00
rule "Office Off"
when
Time cron "45 22 * * * ?"
then
GF_Office_Power.sendCommand(OFF)
end
My question is what in this short test rule that is incorrect. Thank you!