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

home-assistant / home-assistant / 19030
94%

Build:
DEFAULT BRANCH: dev
Ran 31 Jan 2017 09:02AM UTC
Jobs 5
Files 199
Run time 6min
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
19030

push

travis-ci

pvizeli
new yeelight backend lib, new features (#5296)

* initial yeelight based on python-yeelight

* adapt yeelight's discovery code & suppress exceptions on set_default

* Support flash & code cleanups

Adds simple pulse for flashing, needs to be refined.
This commit also includes changing transition from seconds to milliseconds,
and cleans up the code quite a bit.

* cleanup code, adjust default transition to 350

* bump required version to 0.0.13

* Cleaning up and marking todos, ready to be reviewed

* Renamed back to yeelight.
* Removed effect support for now until we have some sane effects available.
* Add "breath" notification for flash, currently hidden behind a False check due to unknown issue not accepting it.
* TODO/open points are marked as such.

* Fix a typo in rgb calculation

* yeelight_<bulbtype>_<mac> for autodetected bulbs

hostname from mdns seems to vary

* Lint fixes, add music mode, fix flash

* Flash transforms now to red and back
* Fix lint warnings
* Add initial music mode.

* remove unused mode logging, move set_mode to turn_on

* Add save_on_change configuration variable

* yeelight: check if music mode is on before enabling it.

* Fix linting, bump required python-yeelight version

* More linting fixes, use import when needed instead of saving the module handle

* Use OR instead of + for features assignment

* Fix color temperature support, convert non-rgb values to rgb values in rgb()

* Fix typo on duration, thanks @qzapwy for noticing

* yeelight: fix issues from review, behave when not available

* Implement available()
* Fix transition to take seconds instead of milliseconds
* Fix default configuration for detected bulbs
* Cache values fetched in update()
* Add return values for methods

* yeelight: kwarg-given transition overrides config, slight cleanups

* change settings back to optional, request update when calling add_devices

* As future version of python-yeelight will wrap exceptions, we can handle broken connections more nicely.

* bump yeelight library version

* Remove unused import

* set the default only when settings are changed and not, e.g., when turned on by automation

* update comment & fix linting

16732 of 17878 relevant lines covered (93.59%)

2.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19030.1 (TOXENV=py34) 31 Jan 2017 09:07AM UTC 0
93.58
Travis Job 19030.1
2 19030.2 (TOXENV=requirements) 31 Jan 2017 09:02AM UTC 0
Travis Job 19030.2
3 19030.3 (TOXENV=lint) 31 Jan 2017 09:09AM UTC 0
Travis Job 19030.3
4 19030.4 (TOXENV=py35) 31 Jan 2017 09:07AM UTC 0
93.57
Travis Job 19030.4
5 19030.5 (TOXENV=py36) 31 Jan 2017 09:06AM UTC 0
93.57
Travis Job 19030.5
Source Files on build 19030
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #19030
  • 5f0138f8 on github
  • Prev Build on dev (#19029)
  • Next Build on dev (#19040)
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