mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 06:34:22 -04:00
Add more translation keys for ap #72
This commit is contained in:
parent
3c747f9602
commit
269a521435
27 changed files with 430 additions and 7 deletions
|
@ -719,14 +719,14 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
),
|
||||
HonSensorEntityDescription(
|
||||
key="pm10ValueIndoor",
|
||||
name="pm10",
|
||||
name="PM 10",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.PM10,
|
||||
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="pm2p5ValueIndoor",
|
||||
name="pm2p5",
|
||||
name="PM 2.5",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.PM25,
|
||||
native_unit_of_measurement=CONCENTRATION_MICROGRAMS_PER_CUBIC_METER,
|
||||
|
@ -737,6 +737,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.VOLATILE_ORGANIC_COMPOUNDS,
|
||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_BILLION,
|
||||
translation_key="voc",
|
||||
),
|
||||
HonSensorEntityDescription(
|
||||
key="humidityIndoor",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue