From eb3356d78aced454e102e5d7ad7f1023e422d275 Mon Sep 17 00:00:00 2001 From: Sander Date: Thu, 5 Jan 2023 16:11:17 +0000 Subject: [PATCH] Fix `Infoevent` `device_class` and `state_class` are not applicable for this sensor --- custom_components/kamstrup_403/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/kamstrup_403/sensor.py b/custom_components/kamstrup_403/sensor.py index 71d8766..52e17b4 100644 --- a/custom_components/kamstrup_403/sensor.py +++ b/custom_components/kamstrup_403/sensor.py @@ -232,8 +232,6 @@ key="113", # 0x0071 name="Infoevent", icon="mdi:eye", - device_class=SensorDeviceClass.TEMPERATURE, - state_class=SensorStateClass.MEASUREMENT, entity_category=EntityCategory.DIAGNOSTIC, ), SensorEntityDescription(