From 929d6b1830db8a36551b78673173a6f620087877 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Fri, 9 Jun 2023 12:14:24 +0200 Subject: [PATCH] Adopted deprecated YAML config change for command_line based entities. --- configuration.yaml | 1 + sensors.yaml | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index e0f45b3..9109cd9 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -31,6 +31,7 @@ homeassistant: # Additional sensors sensor: !include sensors.yaml +command_line: !include commandline.yaml utility_meter: !include utility_meters.yaml # MQTT sensors diff --git a/sensors.yaml b/sensors.yaml index acef53e..160dce5 100644 --- a/sensors.yaml +++ b/sensors.yaml @@ -3,12 +3,6 @@ display_options: - 'time' - 'date' -# Raspberry Pi CPU temp - - platform: command_line - name: "CPU Temp" - command: "cat /sys/class/thermal/thermal_zone0/temp" - unit_of_measurement: "°C" - value_template: "{{ value | multiply(0.001) | round(1) }}" # Database size sensor - platform: sql db_url: !secret ha_recorder_dburl