mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add state_class to mill Estimated CO2 sensor (#85894)
This commit is contained in:
parent
233332c3a0
commit
719f2e650c
@ -86,6 +86,7 @@ SENSOR_TYPES: tuple[SensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.CO2,
|
device_class=SensorDeviceClass.CO2,
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
name="Estimated CO2",
|
name="Estimated CO2",
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
key=TVOC,
|
key=TVOC,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user