updated central home control sketch