Air Quality to RGB Light in Home Assistant

I wanted to show the AQI scale as a color in a continuous spectrum between the points. I based the color points off the colors shown on the AirNow site, but it could be customized. This will start at green when AQI is 0, and gradually become more yellow as it increases until it becomes fully …