mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-09 10:14:41 +00:00
Extract cobalt in own device file
This commit is contained in:
@@ -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) }}'
|
||||||
@@ -12,12 +12,6 @@ binary_sensor:
|
|||||||
or is_state('input_boolean.floorplan_night_mode', 'on') }}
|
or is_state('input_boolean.floorplan_night_mode', 'on') }}
|
||||||
|
|
||||||
sensor:
|
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) }}'
|
|
||||||
|
|
||||||
- platform: time_date
|
- platform: time_date
|
||||||
display_options:
|
display_options:
|
||||||
- "time"
|
- "time"
|
||||||
|
|||||||
Reference in New Issue
Block a user