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

GadgetReactor / pyHS100 / 186
80%

Build:
DEFAULT BRANCH: master
Ran 16 Jun 2018 07:17PM UTC
Jobs 4
Files 12
Run time 41s
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
186

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

79 of 79 new or added lines in 4 files covered. (100.0%)

683 of 1022 relevant lines covered (66.83%)

2.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 186.1 16 Jun 2018 07:17PM UTC 0
66.83
Travis Job 186.1
2 186.2 16 Jun 2018 07:17PM UTC 0
66.83
Travis Job 186.2
3 186.3 16 Jun 2018 07:17PM UTC 0
66.83
Travis Job 186.3
4 186.4 16 Jun 2018 07:17PM UTC 0
66.83
Travis Job 186.4
Source Files on build 186
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #186
  • ef2e21ff on github
  • Prev Build on master (#185)
  • Next Build on master (#188)
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