Hello!
Since a few days I receive this message in my log files: Updating command_line sensor took longer than the scheduled update interval
… and my CPU temperatur sensor does not update anymore…
sensor:
- platform: command_line
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
scan_interval: 120
value_template: '{{ value | multiply(0.001) | round(1) }}'
(I’m currently on hassos 3.10 on Raspberry Pi 4 with 4GB RAM)
Thanks for any recommendations
Albert
I have reinstalled my home-assistance in the meantime.
In the current config I got rid of the update interval - the cpu temp does update regulary (but eventually not every 120 seconds - but the error-message disapeared
sensor:
- 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) }}'