mirror of
https://github.com/home-assistant/core.git
synced 2025-09-09 23:01:40 +02:00
Fix translation bug
This commit is contained in:
@@ -84,6 +84,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["good", "bad", "poor"],
|
options=["good", "bad", "poor"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="AIR_QUALITY_FIELD",
|
key="AIR_QUALITY_FIELD",
|
||||||
@@ -92,6 +93,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["good", "bad", "poor"],
|
options=["good", "bad", "poor"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CO2_FIELD",
|
key="CO2_FIELD",
|
||||||
@@ -100,6 +102,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
device_class=SensorDeviceClass.CO2,
|
device_class=SensorDeviceClass.CO2,
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="AIR_FIELD",
|
key="AIR_FIELD",
|
||||||
@@ -108,6 +111,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
raw_format=True,
|
raw_format=True,
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CURRENT_LEVEL_FIELD",
|
key="CURRENT_LEVEL_FIELD",
|
||||||
@@ -116,6 +120,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["off", "level1", "level2", "level3", "level4", "breeze", "holiday"],
|
options=["off", "level1", "level2", "level3", "level4", "breeze", "holiday"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CURRENT_AIRFLOW_EXTRACT_FIELD",
|
key="CURRENT_AIRFLOW_EXTRACT_FIELD",
|
||||||
@@ -124,6 +129,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CURRENT_AIRFLOW_INGOING_FIELD",
|
key="CURRENT_AIRFLOW_INGOING_FIELD",
|
||||||
@@ -132,6 +138,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
native_unit_of_measurement=UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="OUTDOOR_TEMP_FIELD",
|
key="OUTDOOR_TEMP_FIELD",
|
||||||
@@ -141,6 +148,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="INDOOR_TEMP_FIELD",
|
key="INDOOR_TEMP_FIELD",
|
||||||
@@ -150,6 +158,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="FILTER_REMAIN_FIELD",
|
key="FILTER_REMAIN_FIELD",
|
||||||
@@ -159,6 +168,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.DURATION,
|
device_class=SensorDeviceClass.DURATION,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfTime.DAYS,
|
native_unit_of_measurement=UnitOfTime.DAYS,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="HUMIDITY_FIELD",
|
key="HUMIDITY_FIELD",
|
||||||
@@ -167,6 +177,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.HUMIDITY,
|
device_class=SensorDeviceClass.HUMIDITY,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="MANUAL_LEVEL_FIELD",
|
key="MANUAL_LEVEL_FIELD",
|
||||||
@@ -175,6 +186,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["off", "level1", "level2", "level3", "level4", "breeze", "holiday"],
|
options=["off", "level1", "level2", "level3", "level4", "breeze", "holiday"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="BREEZE_TEMPERATURE_FIELD",
|
key="BREEZE_TEMPERATURE_FIELD",
|
||||||
@@ -184,6 +196,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="BREEZE_LEVEL_FIELD",
|
key="BREEZE_LEVEL_FIELD",
|
||||||
@@ -193,6 +206,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["off", "level1", "level2", "level3", "level4", "breeze"],
|
options=["off", "level1", "level2", "level3", "level4", "breeze"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="DAYTIME_FIELD",
|
key="DAYTIME_FIELD",
|
||||||
@@ -200,6 +214,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
field=DAYTIME_FIELD,
|
field=DAYTIME_FIELD,
|
||||||
raw_format=False,
|
raw_format=False,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="NIGHTTIME_FIELD",
|
key="NIGHTTIME_FIELD",
|
||||||
@@ -207,6 +222,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
field=NIGHTTIME_FIELD,
|
field=NIGHTTIME_FIELD,
|
||||||
raw_format=False,
|
raw_format=False,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="DAY_POLLUTION_FIELD",
|
key="DAY_POLLUTION_FIELD",
|
||||||
@@ -216,6 +232,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["level1", "level2", "level3", "level4"],
|
options=["level1", "level2", "level3", "level4"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="NIGHT_POLLUTION_FIELD",
|
key="NIGHT_POLLUTION_FIELD",
|
||||||
@@ -225,6 +242,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options=["level1", "level2", "level3", "level4"],
|
options=["level1", "level2", "level3", "level4"],
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CO2_THRESHOLD_FIELD",
|
key="CO2_THRESHOLD_FIELD",
|
||||||
@@ -233,6 +251,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="CO2_HYSTERESIS_FIELD",
|
key="CO2_HYSTERESIS_FIELD",
|
||||||
@@ -241,6 +260,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
raw_format=False,
|
raw_format=False,
|
||||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="BYPASS_TEMPERATURE_FIELD",
|
key="BYPASS_TEMPERATURE_FIELD",
|
||||||
@@ -250,6 +270,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
RensonSensorEntityDescription(
|
RensonSensorEntityDescription(
|
||||||
key="BYPASS_LEVEL_FIELD",
|
key="BYPASS_LEVEL_FIELD",
|
||||||
@@ -259,6 +280,7 @@ SENSORS: tuple[RensonSensorEntityDescription, ...] = (
|
|||||||
device_class=SensorDeviceClass.POWER_FACTOR,
|
device_class=SensorDeviceClass.POWER_FACTOR,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
|
has_entity_name=True,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user