Here is a diagram to help

Home / Automation / Here is a diagram to help