Skip to content

Commit e0f5bd4

Browse files
janLoMartinHjelmare
authored andcommitted
Document blacklist_domains of InfluxDB (home-assistant#2493)
* Document blacklist_domains of InfluxDB Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de> * Adapt changes to InfluxDB include/exclude changes. The config options used there are now following the same scheme as the ones in recorder and similar components. Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
1 parent 3c6b558 commit e0f5bd4

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

source/_components/influxdb.markdown

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ Configuration variables:
3636
- **verify_ssl** (*Optional*): Verify SSL certificate for https request. Defaults to false.
3737
- **default_measurement** (*Optional*): Measurement name to use when an entity doesn't have a unit. Defaults to entity id.
3838
- **override_measurement** (*Optional*): Measurement name to use instead of unit or default measurement. This will store all data points in a single measurement.
39-
- **blacklist** (*Optional*): List of entities that should not be logged to InfluxDB.
40-
- **whitelist** (*Optional*): List of the entities (only) that will be logged to InfluxDB. If not set, all entities will be logged. Values set by the **blacklist** option will prevail.
39+
- **exclude** (*Optional*): Configure which components should be excluded from recording to InfluxDB.
40+
- **entities** (*Optional*): The list of entity ids to be excluded from recording to InfluxDB.
41+
- **domains** (*Optional*): The list of domains to be excluded from recording to InfluxDB.
42+
- **include** (*Optional*): Configure which components should be included in recordings to InfluxDB. If set, all other entities will not be recorded to InfluxDB. Values set by the **blacklist** option will prevail.
43+
- **entities** (*Optional*): The list of entity ids to be included from recordings to InfluxDB.
44+
- **domains** (*Optional*): The list of domains to be included from recordings to InfluxDB.
4145
- **tags** (*Optional*): Tags to mark the data.
4246

4347
## {% linkable_title Data migration %}
@@ -169,12 +173,16 @@ influxdb:
169173
ssl: true
170174
verify_ssl: true
171175
default_measurement: state
172-
blacklist:
173-
- entity.id1
174-
- entity.id2
175-
whitelist:
176-
- entity.id3
177-
- entity.id4
176+
exclude:
177+
entities:
178+
- entity.id1
179+
- entity.id2
180+
domains:
181+
- automation
182+
include:
183+
entities:
184+
- entity.id3
185+
- entity.id4
178186
tags:
179187
instance: prod
180188
source: hass

0 commit comments

Comments
 (0)