mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Update docstrings (influx -> influxdb)
This commit is contained in:
parent
aff82da611
commit
e60dce9712
@ -1,19 +1,10 @@
|
|||||||
"""
|
"""
|
||||||
homeassistant.components.influx
|
homeassistant.components.influxdb
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
InfluxDB component which allows you to send data to an Influx database.
|
InfluxDB component which allows you to send data to an Influx database.
|
||||||
|
|
||||||
For more details about this component, please refer to the documentation at
|
For more details about this component, please refer to the documentation at
|
||||||
https://home-assistant.io/components/influx/
|
https://home-assistant.io/components/influxdb/
|
||||||
|
|
||||||
Configuration:
|
|
||||||
|
|
||||||
influx:
|
|
||||||
host: localhost
|
|
||||||
port: 8086
|
|
||||||
dbname: home_assistant
|
|
||||||
dbuser: DB_USER
|
|
||||||
dbuser_password: DB_USER_PASSWORD
|
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
@ -43,7 +34,7 @@ CONF_PASSWORD = 'password'
|
|||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
""" Setup the Influx component. """
|
""" Setup the InfluxDB component. """
|
||||||
|
|
||||||
from influxdb import InfluxDBClient, exceptions
|
from influxdb import InfluxDBClient, exceptions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user