Fixed an issue with temperature stat
Updated Gemfile.lock
Improved deluge test coverage