mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 12:08:19 +00:00
Add threshold level sensor description to Aranet component
This commit is contained in:
parent
0f36759a38
commit
aee85a80b4
@ -74,6 +74,12 @@ SENSOR_DESCRIPTIONS = {
|
|||||||
native_unit_of_measurement=UnitOfPressure.HPA,
|
native_unit_of_measurement=UnitOfPressure.HPA,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
|
"threshold_level": AranetSensorEntityDescription(
|
||||||
|
key="status",
|
||||||
|
name="Threshold Level",
|
||||||
|
device_class=SensorDeviceClass.ENUM,
|
||||||
|
options=["green", "yellow", "red"],
|
||||||
|
),
|
||||||
"co2": AranetSensorEntityDescription(
|
"co2": AranetSensorEntityDescription(
|
||||||
key="co2",
|
key="co2",
|
||||||
name="Carbon Dioxide",
|
name="Carbon Dioxide",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user