Viewing Home Automation Systems as Multiple Agents Systems