Allow sending temperature updates with enter

Also some refactoring.

Closes #208.