mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-13 06:34:22 -04:00
Improve translations and sensors for td and wm
This commit is contained in:
parent
c89521f169
commit
c60d94a170
27 changed files with 637 additions and 109 deletions
|
@ -77,6 +77,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
entity_category=EntityCategory.CONFIG,
|
||||
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
|
||||
icon="mdi:weight-kilogram",
|
||||
translation_key="suggested_load",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="machMode",
|
||||
|
@ -103,6 +104,28 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
native_unit_of_measurement=UnitOfTime.MINUTES,
|
||||
translation_key="spin_speed",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.energyLabel",
|
||||
name="Energy Label",
|
||||
icon="mdi:lightning-bolt-circle",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="energy_label",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.liquidDetergentDose",
|
||||
name="Liquid Detergent Dose",
|
||||
icon="mdi:cup-water",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="det_liquid",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.powderDetergentDose",
|
||||
name="Powder Detergent Dose",
|
||||
icon="mdi:cup",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="det_dust",
|
||||
),
|
||||
),
|
||||
"TD": (
|
||||
SensorEntityDescription(
|
||||
|
@ -154,6 +177,22 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
icon="mdi:thermometer",
|
||||
translation_key="tumbledryertemplevel",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.suggestedLoadD",
|
||||
name="Suggested Load",
|
||||
icon="mdi:weight-kilogram",
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
|
||||
translation_key="suggested_load",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.energyLabel",
|
||||
name="Energy Label",
|
||||
icon="mdi:lightning-bolt-circle",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="energy_label",
|
||||
),
|
||||
),
|
||||
"WD": (
|
||||
SensorEntityDescription(
|
||||
|
@ -197,6 +236,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
entity_category=EntityCategory.CONFIG,
|
||||
native_unit_of_measurement=UnitOfMass.KILOGRAMS,
|
||||
icon="mdi:weight-kilogram",
|
||||
translation_key="suggested_load",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="machMode",
|
||||
|
@ -352,6 +392,7 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = {
|
|||
icon="mdi:lightning-bolt-circle",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
translation_key="energy_label",
|
||||
),
|
||||
SensorEntityDescription(
|
||||
key="startProgram.remainingTime",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue