mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
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>
This commit is contained in:
parent
3fb0d61271
commit
2aed01b530
@ -38,6 +38,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
|
|||||||
translation_key=ThinQProperty.POWER_SAVE_ENABLED,
|
translation_key=ThinQProperty.POWER_SAVE_ENABLED,
|
||||||
on_key="true",
|
on_key="true",
|
||||||
off_key="false",
|
off_key="false",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
DeviceType.AIR_PURIFIER_FAN: (
|
DeviceType.AIR_PURIFIER_FAN: (
|
||||||
@ -111,6 +112,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
|
|||||||
translation_key=ThinQProperty.EXPRESS_MODE,
|
translation_key=ThinQProperty.EXPRESS_MODE,
|
||||||
on_key="true",
|
on_key="true",
|
||||||
off_key="false",
|
off_key="false",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
ThinQSwitchEntityDescription(
|
ThinQSwitchEntityDescription(
|
||||||
key=ThinQProperty.RAPID_FREEZE,
|
key=ThinQProperty.RAPID_FREEZE,
|
||||||
@ -126,6 +128,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
|
|||||||
translation_key=ThinQProperty.HOT_WATER_MODE,
|
translation_key=ThinQProperty.HOT_WATER_MODE,
|
||||||
on_key="on",
|
on_key="on",
|
||||||
off_key="off",
|
off_key="off",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
DeviceType.WINE_CELLAR: (
|
DeviceType.WINE_CELLAR: (
|
||||||
@ -134,6 +137,7 @@ DEVICE_TYPE_SWITCH_MAP: dict[DeviceType, tuple[ThinQSwitchEntityDescription, ...
|
|||||||
translation_key=ThinQProperty.OPTIMAL_HUMIDITY,
|
translation_key=ThinQProperty.OPTIMAL_HUMIDITY,
|
||||||
on_key="on",
|
on_key="on",
|
||||||
off_key="off",
|
off_key="off",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user