Split the templates into two: page and lights.  Also got basic light control working through the web server and python-x10.