Zwave door sensor not triggering lights to turn on

I have a couple zwave door sensors on my garage doors as well as the MyQ integration allowing me to control and view garage door states.
I have 4 Sonoff devices connected via the integration set to turn on and off based on if the garge door is open or closed. The automation worked fine for months then something happened and it started becoming unreliable. I’ve tried several blueprints and all I can see in the logs is that the door open or closed but the other part of the automation of turning on the light is not firing for some reason.
I’ve tried tplink plugin sensor and no luck. Am I missing something?

Is it helpful to upload my trace? Wasn’t sure how to do that

Post the automation

Maybe it is breaking change you missed.

If you manually trigger it does it work?

When I manually trigger works fine, and sometimes it works… Here is a bit more detail

I have a door sensor on the garage door but I also have MyQ garage doors that report the cover status so I have used that in this automation.
It’s weird within the trace it doesn’t show the garage door opening but within the log book it does.

http://pastie.org/p/2c0471CMVTyuSXzrj7FMeN

I’ve put both sets of logs as well as the automation in this pasty

For trigger you don’t need from: closed

Verify trigger states are correct.
If manual trigger works it likely means there is problem with trigger