I have this sensor on my HA since I started using this 2+ years ago (installed using the x86_64 on an HP T620 ThinClient). I just updated/updated to these:
Core2024.1.3
Supervisor2023.12.0
Operating System11.4
Frontend20240104.0
…and now I see this on my Dashboard:
There are also 2 warnings about other things I need to change … what are these and how do I get them working without the YAML?
That is odd — I do not recall removing the indent. I have put them back … and the errors are gone now. Thank You, but I still cannot get the CPU temp to show now - after the updates. It has worked for 2+ years.
I completely REBOOTED the system after making the changes. Not just a restart of HA. Still giving no CPU temp.
I have had System Monitor for 2+ years – one of the first things I setup, as I wanted to be able to keep an eye on what the computer running HA was doing.
2023.11.4 - I believe. I did the CORE update and then the HA update - this past weekend. Had not checked all the dashboards until this AM when I saw that I had the PING YAML warning {above} and the SYSTEM MONITOR YAML warning {above}. That is when I noticed on my “info” dashboard that CPU temp had an error.
I asked about the previous version because a few months ago (2023.6) there was a change for command_line sensors which required fixing the corr. code by users. The old format for command_line was completely removed in 2023.12. So, have you fixed your code due to these changes?
This code is deprecated for a few months.
There are plenty of command_line-related threads here with solutions.
Search for “command_line” pattern. Like this thread.
I think the first sentence is badly worded. It has not been “removed”. It has been moved to the UI rather than using YAML.
It has been moved to the UI. You can find it in Settings → Devices & Services. Confirm it is there then delete the yaml for system monitor and restart.
There should also be a processor temperature entity in this integration you can enable instead of using the command line.
You should then have a sensor.processor_temperature you can use. If you delete your existing CPU temperature sensor you can edit the entity id of the new sensor (in that last picture) to match the old sensor entity id so you don’t have to change your automations or dashboards.
I see it now - it was kinda buried at the bottom. I will investigate what all is in there.
How long before this will be gone? Looks like I still have some entries:
I am guessing that one came from the binary_sensor.yaml which is now commented out in configuration.yaml
Is there some kind of tool to clean (like a defrag on a PC) old stuff? If you install an integration and then remove it - does it “ALL” go away, not parts left over?