homeassistant-config/commandline.yaml

7 lines
222 B
YAML

- sensor:
# Raspberry Pi CPU temp
name: "CPU Temp"
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: "{{ value | multiply(0.001) | round(1) }}"