diff --git a/custom_components/luxtronik/sensor_entities_predefined.py b/custom_components/luxtronik/sensor_entities_predefined.py index 2775479..2a1b2e0 100644 --- a/custom_components/luxtronik/sensor_entities_predefined.py +++ b/custom_components/luxtronik/sensor_entities_predefined.py @@ -451,6 +451,7 @@ device_key=DeviceKey.heating, entity_category=None, icon="mdi:waves-arrow-right", + state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, native_unit_of_measurement=UnitOfTemperature.CELSIUS, extra_attributes=[ @@ -467,6 +468,7 @@ device_key=DeviceKey.heating, entity_category=None, icon="mdi:waves-arrow-left", + state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, native_unit_of_measurement=UnitOfTemperature.CELSIUS, ), @@ -476,6 +478,7 @@ device_key=DeviceKey.heating, entity_category=None, icon="mdi:thermometer", + state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TEMPERATURE, native_unit_of_measurement=UnitOfTemperature.CELSIUS, extra_attributes=[