Obviously, a sane way to do things would be to have a single microcontroller/WiFi module mounted near/inside any of traditional manual light switches, have a single AC/DC convertor near your circuit breaker box, and have it power the whole lighting wiring (from which the microcontroller would draw too) with 9V DC, and now the LEDs inside the lightbulbs will have enough space to cool properly even with size-reduced fittings.
But where is money in doing things the sensible way, right?