homeassistant-config/commandline.yaml

7 lines
222 B
YAML
Raw Normal View History

2023-06-09 12:15:21 +02:00
- 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) }}"