AutoHAN: an architecture for programming the home | Synapse