mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Mark more entities secondary on Fully Kiosk Browser (#105595)
This commit is contained in:
parent
283ff4fada
commit
d144d6c9ab
@ -54,16 +54,19 @@ BUTTONS: tuple[FullyButtonEntityDescription, ...] = (
|
|||||||
FullyButtonEntityDescription(
|
FullyButtonEntityDescription(
|
||||||
key="toForeground",
|
key="toForeground",
|
||||||
translation_key="to_foreground",
|
translation_key="to_foreground",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
press_action=lambda fully: fully.toForeground(),
|
press_action=lambda fully: fully.toForeground(),
|
||||||
),
|
),
|
||||||
FullyButtonEntityDescription(
|
FullyButtonEntityDescription(
|
||||||
key="toBackground",
|
key="toBackground",
|
||||||
translation_key="to_background",
|
translation_key="to_background",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
press_action=lambda fully: fully.toBackground(),
|
press_action=lambda fully: fully.toBackground(),
|
||||||
),
|
),
|
||||||
FullyButtonEntityDescription(
|
FullyButtonEntityDescription(
|
||||||
key="loadStartUrl",
|
key="loadStartUrl",
|
||||||
translation_key="load_start_url",
|
translation_key="load_start_url",
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
press_action=lambda fully: fully.loadStartUrl(),
|
press_action=lambda fully: fully.loadStartUrl(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
@ -46,6 +46,7 @@ ENTITY_TYPES: tuple[NumberEntityDescription, ...] = (
|
|||||||
native_max_value=255,
|
native_max_value=255,
|
||||||
native_step=1,
|
native_step=1,
|
||||||
native_min_value=0,
|
native_min_value=0,
|
||||||
|
entity_category=EntityCategory.CONFIG,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user