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

home-assistant / home-assistant / 23475
94%

Build:
DEFAULT BRANCH: dev
Ran 26 Apr 2017 03:53PM UTC
Jobs 5
Files 249
Run time 9min
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
23475

push

travis-ci

web-flow
LIFX: use white light when setting a specific temperature (#7256)

* Default to white when setting LIFX temperature

Changing the temperature of a saturated color is possible but not very
interesting. So assume that a change of the temperature implies setting
the color to white, unless a different color is actually specified.

This makes the frontend temperature picker much more useful because it can
now be used to get away from a colored light.

* Default to a neutral white temperature when setting LIFX colors

This means that setting a particular color will always give the same output,
no matter what the temperature was previously at.

* Find brightness after colors

Now the color_temp logic will not see a changed color when setting
temperature+brightness and thus we will actually get a white light in
this situation.

The XY conversion can then not use brightness as input. This is not
an issue because XY only affects hue and saturation, not brightness. So
we can just use an arbitrary value as brightness input.

* Add a simple comment to a complex conditional

20957 of 22386 relevant lines covered (93.62%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23475.1 (TOXENV=py34) 26 Apr 2017 03:58PM UTC 0
93.6
Travis Job 23475.1
2 23475.2 (TOXENV=requirements) 26 Apr 2017 03:53PM UTC 0
Travis Job 23475.2
3 23475.3 (TOXENV=lint) 26 Apr 2017 04:03PM UTC 0
Travis Job 23475.3
4 23475.4 (TOXENV=py35) 26 Apr 2017 04:02PM UTC 0
93.6
Travis Job 23475.4
6 23475.6 (TOXENV=py36) 26 Apr 2017 04:01PM UTC 0
93.59
Travis Job 23475.6
Source Files on build 23475
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #23475
  • ffb8872f on github
  • Prev Build on dev (#23468)
  • Next Build on dev (#23482)
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