Live and work remotely in NYC for a company based in CT

My company is based in CT. I go to the office once every three weeks or so, but otherwise work remotely. My W-2 has two entries for box 16 and 17 in separate areas of the W-2 for state taxes. The one for NY lists 428.82 in box 17; the one for CT lists 8,677.39 in box 17. How do I appropriately record this in Turbo Tax? The wages box matches in box 16 in both instances.