homeassistant-config/commandline.yaml
2024-10-08 12:59:18 +02:00

8 lines
255 B
YAML

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