From d144d6c9abaa836b5cf97ed1ff323bd6755f79dd Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 12 Dec 2023 21:40:11 +0100 Subject: [PATCH] Mark more entities secondary on Fully Kiosk Browser (#105595) --- homeassistant/components/fully_kiosk/button.py | 3 +++ homeassistant/components/fully_kiosk/number.py | 1 + 2 files changed, 4 insertions(+) diff --git a/homeassistant/components/fully_kiosk/button.py b/homeassistant/components/fully_kiosk/button.py index 9f4d60e9574..b16265ed467 100644 --- a/homeassistant/components/fully_kiosk/button.py +++ b/homeassistant/components/fully_kiosk/button.py @@ -54,16 +54,19 @@ BUTTONS: tuple[FullyButtonEntityDescription, ...] = ( FullyButtonEntityDescription( key="toForeground", translation_key="to_foreground", + entity_category=EntityCategory.CONFIG, press_action=lambda fully: fully.toForeground(), ), FullyButtonEntityDescription( key="toBackground", translation_key="to_background", + entity_category=EntityCategory.CONFIG, press_action=lambda fully: fully.toBackground(), ), FullyButtonEntityDescription( key="loadStartUrl", translation_key="load_start_url", + entity_category=EntityCategory.CONFIG, press_action=lambda fully: fully.loadStartUrl(), ), ) diff --git a/homeassistant/components/fully_kiosk/number.py b/homeassistant/components/fully_kiosk/number.py index 298a58e2a11..4203a64074d 100644 --- a/homeassistant/components/fully_kiosk/number.py +++ b/homeassistant/components/fully_kiosk/number.py @@ -46,6 +46,7 @@ ENTITY_TYPES: tuple[NumberEntityDescription, ...] = ( native_max_value=255, native_step=1, native_min_value=0, + entity_category=EntityCategory.CONFIG, ), )