Added command_line sensors.

This commit is contained in:
Marcus Scholz 2023-06-09 12:15:21 +02:00
parent 929d6b1830
commit d17935a803

6
commandline.yaml Normal file
View File

@ -0,0 +1,6 @@
- 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) }}"