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

home-assistant / home-assistant / 49129 / 4
94%
dev: 94%

Build:
DEFAULT BRANCH: dev
Ran 07 Sep 2018 11:23PM UTC
Files 440
Run time 29s
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

07 Sep 2018 11:10PM UTC coverage: 93.768% (+0.001%) from 93.767%
TOXENV=cov

push

travis-ci

fabaff
Add rate of change to statistics sensor (#15632)

* always export max_age/min_age

* downgrade errors of missing data
on start with empty recorder database these errors are logged multiple times:
ERROR (MainThread) [homeassistant.components.sensor.statistics] mean requires at least one data point
ERROR (MainThread) [homeassistant.components.sensor.statistics] variance requires at least two data points

downgrade them to debug as they are not meaningful to end users

* add change_rate attribute
this calculates the average change rate of all data points

* simplify count, reorder attribute calculation

* reorder initialization

* reorder attribute names

* don't use min/max for min_age/max_age

* add test case

* style

* style

* sort constants

* init variables with None

* add precision config setting

* round to precision

* test round

38112 of 40645 relevant lines covered (93.77%)

0.94 hits per line

Source Files on job 49129.4 (TOXENV=cov)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 44584
  • Travis Job 49129.4
  • 8a2bc99f on github
  • Prev Job for TOXENV=cov on dev (#49119.4)
  • Next Job for TOXENV=cov on dev (#49158.4)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc