Add translation_key in LG ThinQ (#129476)

Co-authored-by: yunseon.park <yunseon.park@lge.com>
pull/129489/head
LG-ThinQ-Integration 2024-10-30 19:28:28 +09:00 committed by GitHub
parent 0c166eb307
commit 27a19be369
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -39,6 +39,7 @@ NUMBER_DESC: dict[ThinQProperty, NumberEntityDescription] = {
key=ThinQProperty.TARGET_HUMIDITY,
device_class=NumberDeviceClass.HUMIDITY,
native_unit_of_measurement=PERCENTAGE,
translation_key=ThinQProperty.TARGET_HUMIDITY,
),
ThinQProperty.TARGET_TEMPERATURE: NumberEntityDescription(
key=ThinQProperty.TARGET_TEMPERATURE,

View File

@ -172,7 +172,7 @@
"temperature_sensor_error": "Thermistor error",
"time_to_run_the_tub_clean_cycle_error": "Tub clean recommendation",
"timeout_error": "Timeout error",
"turbidity_sensor_error": "turbidity sensor error",
"turbidity_sensor_error": "Turbidity sensor error",
"unable_to_lock_error": "Door lock error",
"unbalanced_load_error": "[%key:component::lg_thinq::entity::event::error::state_attributes::event_type::state::out_of_balance_error%]",
"unknown_error": "Product requires attention",
@ -274,6 +274,9 @@
},
"sleep_timer_relative_hour_to_stop_for_location": {
"name": "{location} sleep timer"
},
"target_humidity": {
"name": "Target humidity"
}
},
"sensor": {