For weeks now I am struggeling with this warning as I could not figure out, how to do it in my configuration.
Is it correct to change these lines:
sensor:
- platform: command_line
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
# If errors occur, make sure configuration file is encoded as UTF-8
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- type: memory_use
- type: swap_use
- type: swap_free
- type: load_1m
- type: processor_use
- type: processor_temperature
to this?
command_line:
-sensor:
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
# If errors occur, make sure configuration file is encoded as UTF-8
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) | round(1) }}'
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- type: memory_use
- type: swap_use
- type: swap_free
- type: load_1m
- type: processor_use
- type: processor_temperature
I hope, someone can assist me on this.
Thanks in advance.