Wyze door sensor automation

I have now integrated Wyze door and motion sensors and trying to add an automation to turn on a light but I am having trouble with the configuration in the Automation UI I think with the trigger wording ie open closed or on off as state.
Any help appreciated. See photos

Did you ever figure this out? I am having similar issue with trying to automate in Node-red.

Not yet still working on it.

Hey man, I was able to get some help. Here is a link.

1 Like