Node red with motion sensor

I just started using node red. When i insert an event state and configure it for motion sensor both true and false go to debug 4. Any idea what I am doing wrong?


states tend to be lowercase

1 Like

Like Kermit said. States are case sensitive. Use the Developer tool to look at states and attributes of entities. Match them. Alternatively you can use comma separated I believe:

On,on

It’s listed in the help file for the node.

Thanks a bunch. That works