From f35a641dc84f18443fd7d52186923becca784ae9 Mon Sep 17 00:00:00 2001 From: Lewis Juggins Date: Sat, 3 Dec 2016 16:33:00 +0000 Subject: [PATCH] (InfluxDB) Configuration for a default measurement value for events without a unit. (#1530) --- source/_components/influxdb.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_components/influxdb.markdown b/source/_components/influxdb.markdown index 0c38b6584fa..dbab0954430 100644 --- a/source/_components/influxdb.markdown +++ b/source/_components/influxdb.markdown @@ -32,6 +32,7 @@ Configuration variables: - **database** (*Optional*): Name of the database to use. Defaults to `home_assistant`. The database must already exist. - **ssl** (*Optional*): Use https instead of http to connect. Defaults to false. - **verify_ssl** (*Optional*): Verify SSL certificate for https request. Defaults to false. +- **default_measurement** (*Optional*): Measurement name to use when an entity doesn't have a unit. Defaults to entity id. - **blacklist** (*Optional*): List of entities not logged to InfluxDB. - **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. - **tags** (*Optional*): Tags to mark the data. @@ -51,6 +52,7 @@ influxdb: password: MY_PASSWORD ssl: true verify_ssl: true + default_measurement: state blacklist: - entity.id1 - entity.id2