Forgot to disable InfluxDB sensor
This commit is contained in:
@ -46,21 +46,21 @@ sensor:
|
|||||||
column: "value"
|
column: "value"
|
||||||
unit_of_measurement: MB
|
unit_of_measurement: MB
|
||||||
|
|
||||||
- platform: influxdb
|
# - platform: influxdb
|
||||||
host: 192.168.1.26
|
# host: 192.168.1.26
|
||||||
port: 8086
|
# port: 8086
|
||||||
username: homeassistant
|
# username: homeassistant
|
||||||
password: !secret influxdb_pass
|
# password: !secret influxdb_pass
|
||||||
scan_interval: 3600
|
# scan_interval: 3600
|
||||||
queries:
|
# queries:
|
||||||
- name: InfluxDB Database Size
|
# - name: InfluxDB Database Size
|
||||||
unit_of_measurement: MB
|
# unit_of_measurement: MB
|
||||||
value_template: "{{ (value | float(0) / 1024 /1024) | round(1) }}"
|
# value_template: "{{ (value | float(0) / 1024 /1024) | round(1) }}"
|
||||||
group_function: sum
|
# group_function: sum
|
||||||
measurement: '"monitor"."shard"'
|
# measurement: '"monitor"."shard"'
|
||||||
database: _internal
|
# database: _internal
|
||||||
where: '"database"=''homeassistant'' AND time > now() - 5m'
|
# where: '"database"=''homeassistant'' AND time > now() - 5m'
|
||||||
field: diskBytes
|
# field: diskBytes
|
||||||
|
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
|
Reference in New Issue
Block a user