Apparently SQL sensors are moved to the UI now
This commit is contained in:
@ -37,15 +37,6 @@ sensor:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
unit_of_measurement: "ms"
|
unit_of_measurement: "ms"
|
||||||
|
|
||||||
- platform: sql
|
|
||||||
db_url: !secret mariadb_url
|
|
||||||
scan_interval: 3600
|
|
||||||
queries:
|
|
||||||
- name: MariaDB Database Size
|
|
||||||
query: 'SELECT table_schema "homeassistant", Round(Sum(data_length + index_length) / POWER(1024,2), 1) "value" FROM information_schema.tables WHERE table_schema="homeassistant" GROUP BY table_schema;'
|
|
||||||
column: "value"
|
|
||||||
unit_of_measurement: MB
|
|
||||||
|
|
||||||
# - platform: influxdb
|
# - platform: influxdb
|
||||||
# host: 192.168.1.26
|
# host: 192.168.1.26
|
||||||
# port: 8086
|
# port: 8086
|
||||||
|
Reference in New Issue
Block a user