sensor:
- platform: command_line
name: CPU Temp
command: "cat /sys/class/thermal/thermal_zone0/temp"
# If errors occur, remove degree symbol below
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'
- platform: systemmonitor
resources:
- type: ipv4_address
arg: eth0
- type: disk_free
arg: /
- type: memory_free
- type: processor_use
- type: last_boot
- type: since_last_boot
recorder:
purge_keep_days: 2
include:
domains:
- automation
- input_boolean
- input_number
- input_datetime
- input_select
- binary_sensor
- sensor
- history_graph
history_graph:
gr1:
name: Raspberry's cpu
entities:
- sensor.cpu_temp
- sensor.processor_use
hours_to_show: 24
refresh: 10
Comments