From 719f2e650cc9cf94a7ef4782c01ce85228f6ae56 Mon Sep 17 00:00:00 2001 From: Jorie Teunissen <38791331+Jorei@users.noreply.github.com> Date: Mon, 16 Jan 2023 09:02:15 +0100 Subject: [PATCH] Add state_class to mill Estimated CO2 sensor (#85894) --- homeassistant/components/mill/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/mill/sensor.py b/homeassistant/components/mill/sensor.py index 776ba1dc632..50db999186f 100644 --- a/homeassistant/components/mill/sensor.py +++ b/homeassistant/components/mill/sensor.py @@ -86,6 +86,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = ( device_class=SensorDeviceClass.CO2, native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION, name="Estimated CO2", + state_class=SensorStateClass.MEASUREMENT, ), SensorEntityDescription( key=TVOC,