I am working on building my own controls using ESP32, Arduino Pro mini and NRF24L01+. I thought it would be useful to show how I got Alexa and Google Home to control the light switch. For this project I created a physical light switch controller with an Arduino and a servo motor. Then I hooked it all up with MySensors gateway running on ESP32 NodeMCU, Mosquitto MQTT, Node-Red, and Home Assistant running a RaspberryPi, and IFTTT.
This was mostly for fun and learning as I don't plan to leave the servo hanging on my light switch. It will be replaced with a relay in the wall at some point.
DIY Voice Controlled Light Switch – 10:14
— Maker At Play