Namespaces | |
| const | |
| sensor | |
Classes | |
| class | InfluxClient |
| class | InfluxThread |
Functions | |
| Callable[[Event], dict[str, Any]|None] | _generate_event_to_json (dict conf) |
| None | _retry_setup (HomeAssistant hass, ConfigType config) |
| dict | create_influx_url (dict conf) |
| InfluxClient | get_influx_connection (conf, test_write=False, test_read=False) |
| bool | setup (HomeAssistant hass, ConfigType config) |
| dict | validate_version_specific_config (dict conf) |
Variables | |
| _CUSTOMIZE_ENTITY_SCHEMA | |
| _INFLUX_BASE_SCHEMA | |
| _LOGGER = logging.getLogger(__name__) | |
| CONFIG_SCHEMA | |
| INFLUX_SCHEMA | |
Support for sending data to an Influx database.
|
private |
Build event to json converter and add to config.
Definition at line 204 of file __init__.py.
|
private |
Definition at line 478 of file __init__.py.
| dict homeassistant.components.influxdb.create_influx_url | ( | dict | conf | ) |
Build URL used from config inputs and default when necessary.
Definition at line 109 of file __init__.py.
| InfluxClient homeassistant.components.influxdb.get_influx_connection | ( | conf, | |
test_write = False, |
|||
test_read = False |
|||
| ) |
Create the correct influx connection for the API version.
Definition at line 334 of file __init__.py.
| bool homeassistant.components.influxdb.setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the InfluxDB component.
Definition at line 482 of file __init__.py.
| dict homeassistant.components.influxdb.validate_version_specific_config | ( | dict | conf | ) |
Ensure correct config fields are provided based on API version used.
Definition at line 134 of file __init__.py.
|
private |
Definition at line 158 of file __init__.py.
|
private |
Definition at line 165 of file __init__.py.
|
private |
Definition at line 106 of file __init__.py.
| homeassistant.components.influxdb.CONFIG_SCHEMA |
Definition at line 198 of file __init__.py.
| homeassistant.components.influxdb.INFLUX_SCHEMA |
Definition at line 192 of file __init__.py.