From b70e2f77495580132d821106ab1fb5842369e86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Klomp?= Date: Thu, 12 Oct 2023 13:03:09 +0200 Subject: [PATCH] Fix SMA incorrect device class (#101866) --- homeassistant/components/sma/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/homeassistant/components/sma/sensor.py b/homeassistant/components/sma/sensor.py index f0fc475e0db..abf5c9a878f 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -274,8 +274,6 @@ SENSOR_ENTITIES: dict[str, SensorEntityDescription] = { "grid_power_factor_excitation": SensorEntityDescription( key="grid_power_factor_excitation", name="Grid Power Factor Excitation", - state_class=SensorStateClass.MEASUREMENT, - device_class=SensorDeviceClass.POWER_FACTOR, entity_registry_enabled_default=False, entity_category=EntityCategory.DIAGNOSTIC, ),