From 94004f48f2bc8847a219ac47a9981960295bd0d8 Mon Sep 17 00:00:00 2001 From: tmechen Date: Thu, 22 Jun 2023 22:02:36 +0200 Subject: [PATCH] fix command_line sensors --- configuration.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.yaml b/configuration.yaml index 6665ded..b34e6b0 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -24,12 +24,13 @@ automation: !include_dir_merge_list automations scene: !include_dir_merge_list scenes command_line: - sensor: - - name: CPU Temperature + - sensor: + name: CPU Temperature command: "cat /sys/class/thermal/thermal_zone0/temp" unit_of_measurement: "°C" value_template: "{{ (value | multiply(0.001)) | round(1) }}" - - name: Python Version + - sensor: + name: Python Version command: "python3 --version" mqtt: