diff --git a/config/packages/devices/living_room/cobalt.yaml b/config/packages/devices/living_room/cobalt.yaml new file mode 100644 index 0000000..9b074ee --- /dev/null +++ b/config/packages/devices/living_room/cobalt.yaml @@ -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) }}' diff --git a/config/packages/modules/system.yaml b/config/packages/modules/system.yaml index 686438e..eaf9a3b 100644 --- a/config/packages/modules/system.yaml +++ b/config/packages/modules/system.yaml @@ -12,12 +12,6 @@ binary_sensor: or is_state('input_boolean.floorplan_night_mode', 'on') }} 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 display_options: - "time"