I believe this code from stdlib is wrong:
(prevent [switch on $Obj])
($Obj is on)
(The $Obj) is already on.
When the object is (plural *) (in my case, “emergency lights”) the output is wrong.
I believe it should be:
(prevent [switch on $Obj])
($Obj is on)
(The $Obj is) already on.