The APIs for home control