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