From d17935a803ca0c46aba1b73a94bdd2d3fce9dd90 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 9 Jun 2023 12:15:21 +0200 Subject: [PATCH] Added command_line sensors. --- commandline.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 commandline.yaml diff --git a/commandline.yaml b/commandline.yaml new file mode 100644 index 0000000..c245104 --- /dev/null +++ b/commandline.yaml @@ -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) }}"