mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
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:
parent
0c28b69269
commit
38efe94def
@ -76,7 +76,8 @@ BINARY_SENSOR_DESC: dict[ThinQProperty, ThinQBinarySensorEntityDescription] = {
|
|||||||
),
|
),
|
||||||
ThinQProperty.WATER_HEATER_OPERATION_MODE: ThinQBinarySensorEntityDescription(
|
ThinQProperty.WATER_HEATER_OPERATION_MODE: ThinQBinarySensorEntityDescription(
|
||||||
key=ThinQProperty.WATER_HEATER_OPERATION_MODE,
|
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",
|
on_key="power_on",
|
||||||
),
|
),
|
||||||
ThinQProperty.ONE_TOUCH_FILTER: ThinQBinarySensorEntityDescription(
|
ThinQProperty.ONE_TOUCH_FILTER: ThinQBinarySensorEntityDescription(
|
||||||
|
@ -80,6 +80,9 @@
|
|||||||
},
|
},
|
||||||
"one_touch_filter": {
|
"one_touch_filter": {
|
||||||
"default": "mdi:air-filter"
|
"default": "mdi:air-filter"
|
||||||
|
},
|
||||||
|
"water_heater_operation_mode": {
|
||||||
|
"default": "mdi:power"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"climate": {
|
"climate": {
|
||||||
|
@ -105,6 +105,12 @@
|
|||||||
},
|
},
|
||||||
"one_touch_filter": {
|
"one_touch_filter": {
|
||||||
"name": "Fresh air 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": {
|
"climate": {
|
||||||
@ -264,10 +270,10 @@
|
|||||||
"name": "{location} schedule turn-on"
|
"name": "{location} schedule turn-on"
|
||||||
},
|
},
|
||||||
"relative_hour_to_start_wm": {
|
"relative_hour_to_start_wm": {
|
||||||
"name": "Delay starts in"
|
"name": "Delayed start"
|
||||||
},
|
},
|
||||||
"relative_hour_to_start_wm_for_location": {
|
"relative_hour_to_start_wm_for_location": {
|
||||||
"name": "{location} delay starts in"
|
"name": "{location} delayed start"
|
||||||
},
|
},
|
||||||
"relative_hour_to_stop": {
|
"relative_hour_to_stop": {
|
||||||
"name": "Schedule turn-off"
|
"name": "Schedule turn-off"
|
||||||
@ -276,10 +282,10 @@
|
|||||||
"name": "{location} schedule turn-off"
|
"name": "{location} schedule turn-off"
|
||||||
},
|
},
|
||||||
"relative_hour_to_stop_wm": {
|
"relative_hour_to_stop_wm": {
|
||||||
"name": "Delay ends in"
|
"name": "Delayed end"
|
||||||
},
|
},
|
||||||
"relative_hour_to_stop_wm_for_location": {
|
"relative_hour_to_stop_wm_for_location": {
|
||||||
"name": "{location} delay ends in"
|
"name": "{location} delayed end"
|
||||||
},
|
},
|
||||||
"sleep_timer_relative_hour_to_stop": {
|
"sleep_timer_relative_hour_to_stop": {
|
||||||
"name": "Sleep timer"
|
"name": "Sleep timer"
|
||||||
@ -927,6 +933,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
|
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
|
||||||
"power_off": "Power off",
|
"power_off": "Power off",
|
||||||
|
"power_on": "Power on",
|
||||||
"preheating": "Preheating",
|
"preheating": "Preheating",
|
||||||
"start": "[%key:common::action::start%]",
|
"start": "[%key:common::action::start%]",
|
||||||
"stop": "[%key:common::action::stop%]",
|
"stop": "[%key:common::action::stop%]",
|
||||||
@ -938,6 +945,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"cancel": "[%key:component::lg_thinq::entity::sensor::current_state::state::cancel%]",
|
"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_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%]",
|
"preheating": "[%key:component::lg_thinq::entity::select::operation_mode::state::preheating%]",
|
||||||
"start": "[%key:common::action::start%]",
|
"start": "[%key:common::action::start%]",
|
||||||
"stop": "[%key:common::action::stop%]",
|
"stop": "[%key:common::action::stop%]",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user