21 lines
775 B
YAML
21 lines
775 B
YAML
# Raspberry Pi CPU temp
|
|
- platform: command_line
|
|
name: "CPU Temp"
|
|
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
|
unit_of_measurement: "°C"
|
|
value_template: "{{ value | multiply(0.001) | round(1) }}"
|
|
# Moon Phases
|
|
- platform: moon
|
|
# DWD weather warnings
|
|
- platform: dwd_weather_warnings
|
|
name: "DWD Unwetterwarnungen"
|
|
region_name: "Münster-Süd"
|
|
# Database size sensor
|
|
- platform: sql
|
|
db_url: !secret ha_recorder_dburl
|
|
queries:
|
|
- name: "Home Assistant Datenbankgröße"
|
|
query: 'SELECT table_schema "database", Round(Sum(data_length + index_length) / 1048576, 2) "value" FROM information_schema.tables WHERE table_schema="homeassistant" GROUP BY table_schema;'
|
|
column: 'value'
|
|
unit_of_measurement: MB
|