Add select for ventilator's control (#140849)

* Add select for ventilator's control

* Removed wind_strength and it will be provided by fan

---------

Co-authored-by: yunseon.park <yunseon.park@lge.com>
This commit is contained in:
LG-ThinQ-Integration 2025-05-27 04:37:05 +09:00 committed by GitHub
parent b17d62177c
commit cdd3ce428f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 0 deletions

View File

@ -166,6 +166,9 @@
"monitoring_enabled": {
"default": "mdi:monitor-eye"
},
"current_job_mode_ventilator": {
"default": "mdi:format-list-bulleted"
},
"current_job_mode": {
"default": "mdi:format-list-bulleted"
},

View File

@ -121,6 +121,12 @@ DEVICE_TYPE_SELECT_MAP: dict[DeviceType, tuple[SelectEntityDescription, ...]] =
),
DeviceType.REFRIGERATOR: (SELECT_DESC[ThinQProperty.FRESH_AIR_FILTER],),
DeviceType.STYLER: (OPERATION_SELECT_DESC[ThinQProperty.STYLER_OPERATION_MODE],),
DeviceType.VENTILATOR: (
SelectEntityDescription(
key=ThinQProperty.CURRENT_JOB_MODE,
translation_key="current_job_mode_ventilator",
),
),
DeviceType.WASHCOMBO_MAIN: (
OPERATION_SELECT_DESC[ThinQProperty.WASHER_OPERATION_MODE],
),

View File

@ -901,6 +901,14 @@
"always": "[%key:component::lg_thinq::entity::sensor::monitoring_enabled::state::always%]"
}
},
"current_job_mode_ventilator": {
"name": "Operating mode",
"state": {
"vent_auto": "[%key:component::lg_thinq::entity::sensor::growth_mode::state::standard%]",
"vent_nature": "Bypass",
"vent_heat_exchange": "Heat exchange"
}
},
"current_job_mode": {
"name": "Operating mode",
"state": {