rule "limited light"
when
Item motionSensor changed to ON
then
if (now.getMinuteOfDay() >= 330 && now.getHourOfDay() < 23) {
lightItem.sendCommand(ON)
}
end
But you really should look at:
rule "limited light"
when
Item motionSensor changed to ON
then
if (now.getMinuteOfDay() >= 330 && now.getHourOfDay() < 23) {
lightItem.sendCommand(ON)
}
end
But you really should look at: