Modify string water_heater's off state (#137627)

* Modify string water_heater's off state

* Modify washer's delay name

---------

Co-authored-by: yunseon.park <yunseon.park@lge.com>
This commit is contained in:
LG-ThinQ-Integration 2025-02-19 19:00:25 +09:00 committed by GitHub
parent 0c28b69269
commit 38efe94def
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 5 deletions

View File

@ -76,7 +76,8 @@ BINARY_SENSOR_DESC: dict[ThinQProperty, ThinQBinarySensorEntityDescription] = {
),
ThinQProperty.WATER_HEATER_OPERATION_MODE: ThinQBinarySensorEntityDescription(
key=ThinQProperty.WATER_HEATER_OPERATION_MODE,
translation_key="operation_mode",
device_class=BinarySensorDeviceClass.POWER,
translation_key=ThinQProperty.WATER_HEATER_OPERATION_MODE,
on_key="power_on",
),
ThinQProperty.ONE_TOUCH_FILTER: ThinQBinarySensorEntityDescription(

View File

@ -80,6 +80,9 @@
},
"one_touch_filter": {
"default": "mdi:air-filter"
},
"water_heater_operation_mode": {
"default": "mdi:power"
}
},
"climate": {

View File

@ -105,6 +105,12 @@
},
"one_touch_filter": {
"name": "Fresh air filter"
},
"water_heater_operation_mode": {
"name": "[%key:component::binary_sensor::entity_component::power::name%]",
"state": {
"off": "[%key:common::state::standby%]"
}
}
},
"climate": {
@ -264,10 +270,10 @@
"name": "{location} schedule turn-on"
},
"relative_hour_to_start_wm": {
"name": "Delay starts in"
"name": "Delayed start"
},
"relative_hour_to_start_wm_for_location": {
"name": "{location} delay starts in"
"name": "{location} delayed start"
},
"relative_hour_to_stop": {
"name": "Schedule turn-off"
@ -276,10 +282,10 @@
"name": "{location} schedule turn-off"
},
"relative_hour_to_stop_wm": {
"name": "Delay ends in"
"name": "Delayed end"
},
"relative_hour_to_stop_wm_for_location": {
"name": "{location} delay ends in"
"name": "{location} delayed end"
},
"sleep_timer_relative_hour_to_stop": {
"name": "Sleep timer"
@ -927,6 +933,7 @@
"state": {
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
"power_off": "Power off",
"power_on": "Power on",
"preheating": "Preheating",
"start": "[%key:common::action::start%]",
"stop": "[%key:common::action::stop%]",
@ -938,6 +945,7 @@
"state": {
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
"power_off": "[%key:component::lg_thinq::entity::select::operation_mode::state::power_off%]",
"power_on": "[%key:component::lg_thinq::entity::select::operation_mode::state::power_on%]",
"preheating": "[%key:component::lg_thinq::entity::select::operation_mode::state::preheating%]",
"start": "[%key:common::action::start%]",
"stop": "[%key:common::action::stop%]",