Apparently SQL sensors are moved to the UI now

This commit is contained in:
2022-11-27 17:01:09 -05:00
parent e0fbe099e3
commit f2251f8f86

View File

@ -37,15 +37,6 @@ sensor:
{% endif %}
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
# host: 192.168.1.26
# port: 8086