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

home-assistant / home-assistant / 45790
94%

Build:
DEFAULT BRANCH: dev
Ran 29 Jun 2018 11:01PM UTC
Jobs 5
Files 407
Run time 12min
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
45790

push

travis-ci

Kane610
deconz: fix light.turn_off with transition (#15222)

When light.turn_off is invoked with a transition, the following payload was
sent to deCONZ via PUT to /light/N/state:

{ "bri": 0, "transitiontime": transition }

However, on recent versions of deCONZ (latest is 2.05.31 at the time of
writing) this does not turn off the light, just sets it to minimum brightness
level (brightness is clamped to minimum level the light supports without
turning it off).

This commit makes the code send this payload instead:

{ "on": false, "transitiontime": transition }

This works as intended and the light does transition to the 'off' state.
This change was tested with Philips Hue colored lights, IKEA colored lights
and IKEA white spectrum lights: they were all able to be turned off
successfully with the new payload, and none of them could be turned off with
the old payload.

36153 of 38405 relevant lines covered (94.14%)

1.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45790.1 (TOXENV=lint) 29 Jun 2018 11:03PM UTC 0
Travis Job 45790.1
2 45790.2 (TOXENV=pylint) 29 Jun 2018 11:13PM UTC 0
Travis Job 45790.2
3 45790.3 (TOXENV=typing) 29 Jun 2018 11:01PM UTC 0
Travis Job 45790.3
4 45790.4 (TOXENV=py35) 29 Jun 2018 11:09PM UTC 0
94.13
Travis Job 45790.4
5 45790.5 (TOXENV=py36) 29 Jun 2018 11:06PM UTC 0
94.13
Travis Job 45790.5
Source Files on build 45790
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #45790
  • 10d1e81f on github
  • Prev Build on dev (#45783)
  • Next Build on dev (#45805)
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