Add threshold level sensor description to Aranet component

This commit is contained in:
Parker Brown 2025-02-04 06:25:01 +00:00 committed by GitHub
parent 0f36759a38
commit aee85a80b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,12 @@ SENSOR_DESCRIPTIONS = {
native_unit_of_measurement=UnitOfPressure.HPA,
state_class=SensorStateClass.MEASUREMENT,
),
"threshold_level": AranetSensorEntityDescription(
key="status",
name="Threshold Level",
device_class=SensorDeviceClass.ENUM,
options=["green", "yellow", "red"],
),
"co2": AranetSensorEntityDescription(
key="co2",
name="Carbon Dioxide",