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

home-assistant / home-assistant / 23215
94%

Build:
DEFAULT BRANCH: dev
Ran 21 Apr 2017 06:07AM UTC
Jobs 6
Files 248
Run time 14min
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
23215

push

travis-ci

balloob
LIFX light effects (#7145)

* Refactor into find_hsbk

This will be useful for new methods that also have to find passed in colors.

* Add AwaitAioLIFX

This encapsulates the callback and Event that aiolifx needs and thus avoids an
explosion of those when new calls are added.

The refresh_state is now generally useful, so move it into its own method.

* Initial effects support for LIFX

These effects are useful as notifications. They mimic the breathe and pulse
effects from the LIFX HTTP API:

    https://api.developer.lifx.com/docs/breathe-effect
    https://api.developer.lifx.com/docs/pulse-effect

However, this implementation runs locally with the LIFX LAN protocol.

* Saturate LIFX no color value

Now the color is "full saturation, no brightness". This avoids a lot of
temporary white when fading from the "no color" value and into a real color.

* Organize LIFX effects in classes

This is to move the setup/restore away from the actual effect, making it quite
simple to add additional effects.

* Stop running LIFX effects on conflicting service calls

Turning the light on/off or starting a new effect will now stop the running
effect.

* Present default LIFX effects as light.turn_on effects

This makes the effects (with default parameters) easily accessible from
the UI.

* Add LIFX colorloop effect

This cycles the HSV colors, so that is added as an internal way to set a
color.

* Move lifx to its own package and split effects into a separate file

* Always show LIFX light name in logs

The name is actually the easiest way to identify a bulb so just using it
as a fallback was a bit odd.

* Compact effect getter

* Always use full brightness for random flash color

This is a stopgap. When a bit more infrastructure is in place, the intention
is to turn the current hue some degrees. This will guarantee a flash color
that is both unlike the current color and unlike white.

* Clear effects concur... (continued)

20869 of 22296 relevant lines covered (93.6%)

3.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
100.0
homeassistant/components/mqtt/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 23215.1 (TOXENV=py34) 21 Apr 2017 06:10AM UTC 0
93.59
Travis Job 23215.1
2 23215.2 (TOXENV=requirements) 21 Apr 2017 06:07AM UTC 0
Travis Job 23215.2
3 23215.3 (TOXENV=lint) 21 Apr 2017 06:16AM UTC 0
Travis Job 23215.3
4 23215.4 (TOXENV=py35) 21 Apr 2017 06:15AM UTC 0
93.58
Travis Job 23215.4
5 23215.5 (TOXENV=py36) 21 Apr 2017 06:14AM UTC 0
93.58
Travis Job 23215.5
6 23215.6 (TOXENV=py36) 21 Apr 2017 06:22AM UTC 0
93.58
Travis Job 23215.6
Source Files on build 23215
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #23215
  • d4b08508 on github
  • Prev Build on dev (#23212)
  • Next Build on dev (#23224)
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