Need Help Sonoff Bridge and PIR automation

In addition, you might want to check out this topic ;