• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

balloob / home-assistant / 5966
93%

Build:
DEFAULT BRANCH: dev
Ran 06 Apr 2016 06:56PM UTC
Jobs 4
Files 132
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5966

push

travis-ci

balloob
Use whole degrees fahrenheit for thermostats

Users of fahrenheit generally expect to see whole degrees. The fahreneit

scale is suffiently precise that decimals aren't really useful in terms

of temperatures humans care about.



This change rounds fahrenheit values to whole degrees and celsius values

to one decimal place. It also renames the ThermostatDevice._convert()

method to _convert_for_display(), making its purpose more clear. It is

not useful for the min_temp() and max_temp() methods, as those relate to

the internal state of the ThermostatDevice object, and may use different

units. Adding optional source and target units to _convert() would have

added needless complexity, it's cleaner to just use convert() in those

methods.

8957 of 9635 relevant lines covered (92.96%)

1.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5966.1 (TOXENV=py34) 06 Apr 2016 06:57PM UTC 0
92.96
Travis Job 5966.1
2 5966.2 (TOXENV=requirements) 06 Apr 2016 06:56PM UTC 0
Travis Job 5966.2
3 5966.3 (TOXENV=lint) 06 Apr 2016 06:59PM UTC 0
Travis Job 5966.3
4 5966.4 (TOXENV=py35) 06 Apr 2016 06:59PM UTC 0
92.95
Travis Job 5966.4
Source Files on build 5966
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5966
  • 29fb6faa on github
  • Prev Build on dev (#5964)
  • Next Build on dev (#5969)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc