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

GadgetReactor / pyHS100 / 179 / 4
80%
master: 80%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2018 07:18PM UTC
Files 12
Run time 1s
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

09 Apr 2018 07:17PM UTC coverage: 66.598% (-0.9%) from 67.474%
179.4

push

travis-ci

rytilahti
Update smartplug.py to support dimming in HS220 (#115)

* Update smartplug.py to support dimming in HS220

Switch functions essentially as a "plug" with the addition to support for dimming, for which can be test for by verifying existence of 'brightness' array value.

* Attempt at updates to pass validator

* Maybe this time?  :-)

* Add more detail to comment blocks

Make clear in requests for current brightness level the expected return values, and note that light will turn on when setting a brightness level, if not already on.  This makes clear that a state change request (turn_on) does NOT have to be made first when setting brightness.

* Update smartplug.py

* Update smartplug.py

Fixes #114

646 of 970 relevant lines covered (66.6%)

0.67 hits per line

Source Files on job 179.4
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 178
  • Travis Job 179.4
  • 1aee353c on github
  • Prev Job for on master (#170.1)
  • Next Job for on master (#185.2)
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