Installing a switch that requires a neutral connection in a double gang box with two single pole switches
OK, so I don't know why it didn't work the first time I tried this, maybe one of the wires was loose or something.  Anyway I connected the Black from the new switch to the hot black from the distribution box.  The green to bare copper, the white to the bundle of all the whites and the red to the other black that goes to the light.  For whatever reason it decided to work.