There's a saying among Members of Congress:
Vote your conscience firstIf a Member of Congress believes something is a moral imperative, even differing from those who elected them or supported them, then they should do what they fully convinced is right.
your constituency second,
and your party third.
Sometimes local issues have national implications, and even though the party may be going a different way on something, the Member should first vote in accordance with their home interest.