Home Assistant License

Hi, I understand that Home Assistant is an Open source home automation platform. Is it under GNU General Public License or some other? Also, I would like to know if one can build commercial product on top of the Home Assistant platform?

The license is MIT.

It seems the license has changed to The Apache 2.0 License 1, 2