Ceiling fan with 2 switches with remote
The remote switches the light and fan off using just a single power source. It doesn't rely on 2 like you had. You don't have any use for the red wire any more nor the switch.