Browse Source

fix command_line sensors

master
tmechen 10 months ago
parent
commit
94004f48f2
No known key found for this signature in database
GPG Key ID: A66056317FE39FC4
  1. 7
      configuration.yaml

7
configuration.yaml

@ -24,12 +24,13 @@ automation: !include_dir_merge_list automations @@ -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:

Loading…
Cancel
Save