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

home-assistant / home-assistant / 28398
94%

Build:
DEFAULT BRANCH: dev
Ran 23 Aug 2017 05:24AM UTC
Jobs 5
Files 283
Run time 17min
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
28398

push

travis-ci

balloob
Support changing the bulb color for tplink smartbulbs, fixes #8766 (#8780)

* Support changing the bulb color for tplink smartbulbs, related to #8766

* existence of ATTR_RGB_COLOR in kwargs, not just its existence...

* return modified supported features

* rgb-hsv conversion utils from hass return bogus values (at least for this device), so doing conversions directly with colorsys

* add typing & documentation for color model conversions

* make linters happy

* cast hsv to integer before passing it to the backend library

* make sure the bulb is on before adjusting the other settings

* allow floats as inputs for conversions, return always integers

* use typing hint in the parameter list instead of at assignment

* do not assign local color state inside turn_on, but let update handle doing it

* use forward declaration for typing, fixes travis requirements build hopefully

* rename hsv and rgb

* remove type-checking check, forward declarations should work just fine without it

* disable (broken) pylint warnings, these can be removed after astroid is updated from 1.4.9 to 1.5

24654 of 26290 relevant lines covered (93.78%)

2.81 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
homeassistant/components/sensor/uk_transport.py
Jobs
ID Job ID Ran Files Coverage
1 28398.1 (TOXENV=lint) 23 Aug 2017 05:42AM UTC 0
Travis Job 28398.1
2 28398.2 (TOXENV=py34) 23 Aug 2017 05:34AM UTC 0
93.76
Travis Job 28398.2
3 28398.3 (TOXENV=py35) 23 Aug 2017 05:33AM UTC 0
93.76
Travis Job 28398.3
4 28398.4 (TOXENV=py36) 23 Aug 2017 05:35AM UTC 0
93.75
Travis Job 28398.4
5 28398.5 (TOXENV=requirements) 23 Aug 2017 05:24AM UTC 0
Travis Job 28398.5
Source Files on build 28398
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #28398
  • 90fb33f6 on github
  • Prev Build on dev (#28392)
  • Next Build on dev (#28399)
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