The Home Automation has to communicate with other smart components. There are lot of different connection methods/protocols, which usually needs some dedicated gateway.