Added index.html
refactoring thermostat