This is a bit more annoying than it looks (spoiler: the obvious way to wire it may not pass muster with all inspectors)
The power feed to this all comes in at box 1 (vanity light) and feeds the /2 switch loop to box 3 as well as the /2 feed to box 2. Box 2 and Box 3 are connected by a /3 cable, apparently intended to be a switch loop.
With all this, you'd think you'd be able to:
- Turn the power off, of course
- Connect the white wire from the /2 in box 2 to the white wires from the light and fan there.
- Connect all grounds together in box 2 and to a box ground pigtail (if it's a metal box)
- Connect the black wire from the /2 cable in box 2 to the white wire in the /3 cable and mark that white wire as a hot (permanent marker as you have done should be fine -- it just needs to be a permanent/indelible marking, visible from all angles).
- Connect the red wire from the /3 cable in box 2 to the blue wire from the overhead light.
- Connect the black wire from the /3 cable in box 2 to the black wire from the bath fan.
- Connect all the grounds in box 3 together.
- Connect the white wire from the /3 cable in box 3 to the HOT terminal on the fan controller after marking it as a hot.
- Connect the black wire from the /3 cable in box 3 to the 1-POLE terminal on the fan controller.
- Connect the white wire from the /2 cable in box 3 to the switch HOT terminal, again after marking it hot.
- Connect the black wire from the /2 cable in box 3 to the switch 1-POLE terminal.
- Connect the red wire from the /3 cable in box 3 to the other switch 1-pole terminal -- the Adorne parts can terminate two wires on each terminal.
- Button everything back up and turn the power on.
and have it work. In fact, it will work if you do this; however, there's a catch! This arrangement takes one switch loop feed (from the vanity light) and returns it back down two different cables (to the vanity light and to the overhead light), which can be seen as a Code violation (of the 300.3(B)/310.10(H)/300.20 complex) as it creates a large loop area that puts out stray magnetic fields in your bathroom (good for ruining the picture on that old TV you have mounted in the wall in there ;).
A more conservative approach would be to utilize a dual pole switch to break the two hot feeds simultaneously while sending the return paths back the way they came, as follows:
- Connect all the grounds in box 3 together, and to grounding (green/bare) pigtails to any switches that need them.
- Connect the white wire from the /3 cable in box 3 to two (preferably black) pigtails after marking it as a hot. One pigtail goes to the HOT terminal on the fan controller and the other goes to one side of the dual pole switch.
- Connect the black wire from the /3 cable in box 3 to the 1-POLE terminal on the fan controller.
- Connect the red wire from the /3 cable in box 3 to the other terminal on the same side of the dual pole switch as the pigtail.
- Connect the black wire from the /2 cable in box 3 to the other side of the dual pole switch.
- Connect the white wire from the /2 cable in box 3 to the other terminal on the other side of the dual pole switch.
- Button everything back up and turn the power on.
This arrangement also works, and keeps the two light switch loops neatly separated. However, Legrand does not make a two pole Adorne switch, and I do not believe there are faceplates available for the combination of an Adorne device side by side with a standard switch in a two gang box. You'd have to get a standard-form-factor (i.e. not Adorne) fan controller to do this.
Best Answer
There is a major consideration that must be investigated before this can be answered in the positive. That is - Is the fan / light combo unit designed to support separate wiring feeds for the light and the fan. Many units do support this whilst some may not.
If your unit does support this then there is a second consideration. If the vanity light and the fan combo are on the same power feed from the main breaker panel then it is possible to entertain the idea that that the two lights can be interconnected to the same switches.
Since the two switches are in the same electrical box this is a good start if the prior considerations are met. The last criteria to look at is if there are already separate power feeds from the switch box to the fan/light combo in the ceiling. If not then it will be necessary to either replace the existing 2_wire+ground cable between the boxes with a 3_wire+ground cable OR to add an additional 2_wire+ground cable.
Once all that is in place the process of merging the two lights to one switch becomes one of pig tailing the correct sets of wires together in the switch box so the single switch can operate both of the lights.