mirror of
https://github.com/home-assistant/core.git
synced 2025-05-05 14:39:16 +00:00
Add Homematic sensor descriptions (#82156)
Update sensor.py Add Sensor Descriptions.
This commit is contained in:
parent
e4666206ec
commit
c8d4febe13
@ -253,6 +253,36 @@ SENSOR_DESCRIPTIONS: dict[str, SensorEntityDescription] = {
|
|||||||
device_class=SensorDeviceClass.PM10,
|
device_class=SensorDeviceClass.PM10,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
|
"STATE": SensorEntityDescription(
|
||||||
|
key="STATE",
|
||||||
|
),
|
||||||
|
"SMOKE_DETECTOR_ALARM_STATUS": SensorEntityDescription(
|
||||||
|
key="SMOKE_DETECTOR_ALARM_STATUS",
|
||||||
|
),
|
||||||
|
"WIND_DIR": SensorEntityDescription(
|
||||||
|
key="WIND_DIR",
|
||||||
|
),
|
||||||
|
"WIND_DIR_RANGE": SensorEntityDescription(
|
||||||
|
key="WIND_DIR_RANGE",
|
||||||
|
),
|
||||||
|
"CONCENTRATION_STATUS": SensorEntityDescription(
|
||||||
|
key="CONCENTRATION_STATUS",
|
||||||
|
),
|
||||||
|
"PASSAGE_COUNTER_VALUE": SensorEntityDescription(
|
||||||
|
key="PASSAGE_COUNTER_VALUE",
|
||||||
|
),
|
||||||
|
"LEVEL": SensorEntityDescription(
|
||||||
|
key="LEVEL",
|
||||||
|
),
|
||||||
|
"LEVEL_2": SensorEntityDescription(
|
||||||
|
key="LEVEL_2",
|
||||||
|
),
|
||||||
|
"DOOR_STATE": SensorEntityDescription(
|
||||||
|
key="DOOR_STATE",
|
||||||
|
),
|
||||||
|
"FILLING_LEVEL": SensorEntityDescription(
|
||||||
|
key="FILLING_LEVEL",
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_SENSOR_DESCRIPTION = SensorEntityDescription(
|
DEFAULT_SENSOR_DESCRIPTION = SensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user