controller component for my (not so) smart thermostat