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

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

Build:
DEFAULT BRANCH: master
Ran 16 Jun 2018 07:17PM 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

16 Jun 2018 07:16PM UTC coverage: 66.83% (+0.2%) from 66.598%
186.4

push

travis-ci

web-flow
Fix emeter support for newer HS110 firmwares (#107)

* Add support for new-style emeter

This commit adds a straightforward dict-extending container,
which converts between the old and new keys of the get_emeter_realtime()
Furthermore the unit tests are converted to base on HS100
instead of HS110.

This is the first step to fix #103, other emeter-using functionality
has not yet been converted, only getting the current consumption.

* fix a couple of linting issues

* Convert new-style emeter values also for get_emeter_daily() and get_emeter_monthly()

* Adds a new 'kwh' parameter for those calls, which defaults to True
* This changes the behavior of bulbs emeter reporting, use False if you prefer the preciser values

683 of 1022 relevant lines covered (66.83%)

0.67 hits per line

Source Files on job 186.4
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 185
  • Travis Job 186.4
  • ef2e21ff on github
  • Prev Job for on master (#185.3)
  • Next Job for on master (#188.1)
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