Hi, before System Monitor was moved to the UI in 2024, I had it set up in YAML, and was displaying Mem %, and CPU Temp and % on a Graph Card for the last 72 hours. It worked great for years. After the move to Integration, the Mem and CPU % still showed correctly on the Graph Card (72 hours of data plotted) using the new entities, but the CPU Temp only showed the current temp on the far right side of the plot and nothing else. Am I missing a setting, or do I need to activate statistics somehow? I’m not completely clear on how statistics work now (I used the platform:statistics in YAML previously (see below), but it seems much of it is automatic now).
Do I need to add this to Recorder? Why is only the Temp not working, but the other two do? I didn’t see anything in the Integration Configuration related. Any advice would be appreciated.
I also have this card:
And note the bottom part, the “last 72 hours” dials, which seem to be working, defined here:
Using the following YAML:
# CPU Temp Stats (this is being used in addition to System Monitor)
- platform: statistics
unique_id: temp_mean_cpu
name: "CPU Temp mean over last 72 hours"
entity_id: sensor.system_monitor_processor_temperature
state_characteristic: mean
sampling_size: 100000
precision: 1
max_age:
hours: 72
# CPU Use Stats (this is being used in addition to System Monitor)
- platform: statistics
unique_id: use_mean_cpu
name: "CPU Use mean over last 72 hours"
entity_id: sensor.processor_use
state_characteristic: mean
sampling_size: 100000
precision: 1
max_age:
hours: 72
Should I still use the entity defined as “sensor.cpu_temp_mean_over_last_72_hours” in YAML (Sensors) or is there a way to use the new CPU Temp sensor from the integration?
1 post - 1 participant