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

home-assistant / home-assistant / 27590
94%

Build:
DEFAULT BRANCH: dev
Ran 03 Aug 2017 02:28PM UTC
Jobs 4
Files 273
Run time 10min
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
27590

push

travis-ci

pvizeli
InfluxDB component improvements (#8633)

* Allow reporting some state attributes as tags to InfluxDB

Some state attributes should really be tags in InfluxDB. E.g.
it is helpful to be able to group by friendly_name, or add a custom
attribute like "location" and group by that. Graphs in Grafana are much
easier to read when friendly names are used, and not node ids.

This commit adds an optional setting to InfluxDB config:
'tags_attributes'. Any attribute on this list will be reported as tag
and not as field to InfluxDB.

* Allow overriding InfluxDB measurement for each reported item separately

Bundling all items with the same "unit of measurement" together does not
always makes sense. For example, both "relatively humidity" and "battery
level" are reported as "%", but I'd rather see them as separate
measurements in InfluxDB. This commit allows for 'influxdb_measurement'
attribute. When set on node, it will take precedence over the global
'override_measurement' and component-specific 'unit_of_measurement'.

* Minor updates to InfluxDB component improvements, as suggested by
@MartinHjelmare.

* Moved per-component config from 'customize' into 'influxdb'
configuration section. The following three sub-sections were added:
'component_config', 'component_config_domain' and
'component_config_glob'. The sole supported per-component attribute
at this point is 'override_measurement'.

* Lint

* Fixed mocked entity_ids in InfluxDB tests to be in domain.entity_id
format, to satisfy EntityValues requirements.

* Added tests for new InfluxDB configuration parameters

* Fixes to some docstrings

23569 of 25142 relevant lines covered (93.74%)

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27590.1 (TOXENV=lint) 03 Aug 2017 02:38PM UTC 0
Travis Job 27590.1
3 27590.3 (TOXENV=py35) 03 Aug 2017 02:36PM UTC 0
93.73
Travis Job 27590.3
4 27590.4 (TOXENV=py36) 03 Aug 2017 02:32PM UTC 0
93.73
Travis Job 27590.4
5 27590.5 (TOXENV=requirements) 03 Aug 2017 02:28PM UTC 0
Travis Job 27590.5
Source Files on build 27590
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #27590
  • 944af9cd on github
  • Prev Build on dev (#27589)
  • Next Build on dev (#27591)
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