What are the elements of a home automation system?

What are the elements of a home automation system?