We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a1824 commit 628bd91Copy full SHA for 628bd91
glances_api/__init__.py
@@ -134,8 +134,9 @@ async def get_ha_sensor_data(self) -> dict[str, Any]:
134
}
135
if data := self.data.get("load"):
136
sensor_data["load"] = {
137
- "processor_load": data.get("min15")
138
- or self.data["cpu"]["total"] # to be checked
+ "processor_load": data.get("min15"),
+ "processor_load_1m": data.get("min1"),
139
+ "processor_load_5m": data.get("min5"),
140
141
if data := self.data.get("processcount"):
142
sensor_data["processcount"] = {
0 commit comments