From 59653e11675b40e4d32d74456b96021f1a15f371 Mon Sep 17 00:00:00 2001 From: Karthik T Date: Fri, 31 Dec 2021 06:34:21 +0800 Subject: [PATCH] Fix systemmonitor CPU temp for Armbian on PineA64 ``` >>> psutil.sensors_temperatures() {'cpu0_thermal': [shwtemp(label='', current=44.557, high=90.0, critical=90.0)], 'gpu0_thermal': [shwtemp(label='', current=43.972, high=None, critical=None)], 'gpu1_thermal': [shwtemp(label='', current=44.206, high=None, critical=None)], 'axp813_adc': [shwtemp(label='', current=29.7, high=None, critical=None)]} ``` --- homeassistant/components/systemmonitor/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/systemmonitor/sensor.py b/homeassistant/components/systemmonitor/sensor.py index 5c6294107f839..53a5a80621457 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -305,6 +305,7 @@ def check_required_arg(value: Any) -> Any: "soc_thermal 1", "Tctl", "cpu0-thermal", + "cpu0_thermal", ]