Extract cobalt in own device file

This commit is contained in:
2020-05-16 14:10:40 +03:00
parent 4fca96778c
commit c89338f1a6
2 changed files with 6 additions and 6 deletions
@@ -0,0 +1,6 @@
sensor:
- platform: command_line
name: Cobalt CPU Temperature
command: "cat /sys/class/thermal/thermal_zone3/temp"
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'