Device for Home Automation