Temperatures, fan and battery in Glances sensors (#43500)

* Temperatures, fan and battery in Glances sensors

* Lint PR #43500
This commit is contained in:
Guillaume Duveau 2020-12-14 10:46:44 +01:00 committed by GitHub
parent 61dd374713
commit c27c958a4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 14 deletions

View file

@ -36,7 +36,9 @@ SENSOR_TYPES = {
"process_thread": ["processcount", "Thread", "Count", CPU_ICON],
"process_sleeping": ["processcount", "Sleeping", "Count", CPU_ICON],
"cpu_use_percent": ["cpu", "CPU used", PERCENTAGE, CPU_ICON],
"sensor_temp": ["sensors", "Temp", TEMP_CELSIUS, "mdi:thermometer"],
"temperature_core": ["sensors", "temperature", TEMP_CELSIUS, "mdi:thermometer"],
"fan_speed": ["sensors", "fan speed", "RPM", "mdi:fan"],
"battery": ["sensors", "charge", PERCENTAGE, "mdi:battery"],
"docker_active": ["docker", "Containers active", "", "mdi:docker"],
"docker_cpu_use": ["docker", "Containers CPU used", PERCENTAGE, "mdi:docker"],
"docker_memory_use": [