Let me know if this makes it any clearer. Don’t hesitate to ask questions
Rain sensor polarity does not matter, relay will be CLOSED when Rain Sensor is CLOSED and visa versa. Setup your rachios as needed to use Normally Closed rain sensor on S1.