A home automation system and method are disclosed for configuring a device state including but not limited to receiving an input from the client device at the server, configuring the device state in the database at the server in accordance with the input, and sending the configured device state from the server to the client device.