Added command_line sensors.
This commit is contained in:
parent
929d6b1830
commit
d17935a803
6
commandline.yaml
Normal file
6
commandline.yaml
Normal 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) }}"
|
Loading…
Reference in New Issue
Block a user