Homeassistant os on raspberry pi

Hi,

I was using this yaml syntax to display the 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) }}'

it is not working now after an update
please help me to solve this
thx

1 Like