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

home-assistant / home-assistant / 23634
94%

Build:
DEFAULT BRANCH: dev
Ran 30 Apr 2017 07:06AM UTC
Jobs 6
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
23634

push

travis-ci

balloob
Flux switch: avoid updates when off (#7363)

* Flux switch: avoid updates when off

Calling turn_on when the switch is already on would orphan the existing
time tracker, losing our ability to cancel it when turn_off is called.

* Cleanups

The self.is_on property can now be found from self.unsub_tracker, so
get rid of the self._state attribute.

Add an entry guard to turn_on, making further conditionals unnecessary.

4 of 4 new or added lines in 1 file covered. (100.0%)

20876 of 22320 relevant lines covered (93.53%)

3.74 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
100.0
homeassistant/components/switch/flux.py
Jobs
ID Job ID Ran Files Coverage
1 23634.1 (TOXENV=py34) 30 Apr 2017 07:13AM UTC 0
93.52
Travis Job 23634.1
2 23634.2 (TOXENV=requirements) 30 Apr 2017 07:06AM UTC 0
Travis Job 23634.2
3 23634.3 (TOXENV=lint) 30 Apr 2017 07:15AM UTC 0
Travis Job 23634.3
4 23634.4 (TOXENV=py35) 30 Apr 2017 07:13AM UTC 0
93.51
Travis Job 23634.4
5 23634.5 (TOXENV=py36) 30 Apr 2017 07:13AM UTC 0
93.51
Travis Job 23634.5
6 23634.6 (TOXENV=py36) 30 Apr 2017 07:14AM UTC 0
93.51
Travis Job 23634.6
Source Files on build 23634
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #23634
  • 9f68fd91 on github
  • Prev Build on dev (#23632)
  • Next Build on dev (#23635)
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