Remove invalid device class in air-Q integration (#89329)
Remove device_class from sensors using inconsistent units
This commit is contained in:
parent
30884f6d17
commit
452e1d341d
1 changed files with 0 additions and 3 deletions
|
@ -68,7 +68,6 @@ SENSOR_TYPES: list[AirQEntityDescription] = [
|
||||||
AirQEntityDescription(
|
AirQEntityDescription(
|
||||||
key="co",
|
key="co",
|
||||||
name="CO",
|
name="CO",
|
||||||
device_class=SensorDeviceClass.CO,
|
|
||||||
native_unit_of_measurement=CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER,
|
native_unit_of_measurement=CONCENTRATION_MILLIGRAMS_PER_CUBIC_METER,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value=lambda data: data.get("co"),
|
value=lambda data: data.get("co"),
|
||||||
|
@ -289,7 +288,6 @@ SENSOR_TYPES: list[AirQEntityDescription] = [
|
||||||
AirQEntityDescription(
|
AirQEntityDescription(
|
||||||
key="tvoc",
|
key="tvoc",
|
||||||
name="VOC",
|
name="VOC",
|
||||||
device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
|
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value=lambda data: data.get("tvoc"),
|
value=lambda data: data.get("tvoc"),
|
||||||
|
@ -297,7 +295,6 @@ SENSOR_TYPES: list[AirQEntityDescription] = [
|
||||||
AirQEntityDescription(
|
AirQEntityDescription(
|
||||||
key="tvoc_ionsc",
|
key="tvoc_ionsc",
|
||||||
name="VOC (Industrial)",
|
name="VOC (Industrial)",
|
||||||
device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
|
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value=lambda data: data.get("tvoc_ionsc"),
|
value=lambda data: data.get("tvoc_ionsc"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue