Idea: Did you ever want to use ESP8266 to communicate to Home Assistant directly?
Implementation: Here we use a color sensor to read colors and change a RGB light in Home Assistant to the color observed.
Arduino Code: Link
RGB Lights connected to Home Assistant McLighting: https://github.com/toblum/McLighting