Add entity_category to avoid header_toggle for switch (#129477)

add entity_category to avoid header_toggle

Co-authored-by: yunseon.park <yunseon.park@lge.com>
pull/129326/head^2
LG-ThinQ-Integration 2024-10-30 18:34:04 +09:00 committed by GitHub
parent 3fb0d61271
commit 2aed01b530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
translation_key=ThinQProperty.POWER_SAVE_ENABLED,
on_key="true",
off_key="false",
entity_category=EntityCategory.CONFIG,
),
),
DeviceType.AIR_PURIFIER_FAN: (
@ -111,6 +112,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
translation_key=ThinQProperty.EXPRESS_MODE,
on_key="true",
off_key="false",
entity_category=EntityCategory.CONFIG,
),
ThinQSwitchEntityDescription(
key=ThinQProperty.RAPID_FREEZE,
@ -126,6 +128,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
translation_key=ThinQProperty.HOT_WATER_MODE,
on_key="on",
off_key="off",
entity_category=EntityCategory.CONFIG,
),
),
DeviceType.WINE_CELLAR: (
@ -134,6 +137,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
translation_key=ThinQProperty.OPTIMAL_HUMIDITY,
on_key="on",
off_key="off",
entity_category=EntityCategory.CONFIG,
),
),
}