Curtain opens when it should close or closes when it should open

Curtain opens when it should close or closes when it should open

Problem
Curtain opens when it should close or closes when it should open

Possible Cause
Incorrect wiring, the close and open wires are reversed.

Possible Solution
Correct the wiring.