Bug adding Lighting Rule: Unexpected Error

I believe I've run across a bug in Room Lighting.

This option in means to turn off lights:

If you remove the 1 and leave it blank and save, then you get the following error when trying to open the rule.