From a2e9ae5ecea773cf3e392bfe56fc286b409fcded Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Wed, 16 Jul 2025 19:15:27 +0200 Subject: [PATCH] Use state selector for select option service --- homeassistant/components/input_select/services.yaml | 5 ++++- homeassistant/components/select/services.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/input_select/services.yaml b/homeassistant/components/input_select/services.yaml index 04a09e5366a..668f5b97d23 100644 --- a/homeassistant/components/input_select/services.yaml +++ b/homeassistant/components/input_select/services.yaml @@ -17,7 +17,10 @@ select_option: required: true example: '"Item A"' selector: - text: + state: + hide_states: + - unavailable + - unknown select_previous: target: diff --git a/homeassistant/components/select/services.yaml b/homeassistant/components/select/services.yaml index dc6d4c6815a..4f655422f6f 100644 --- a/homeassistant/components/select/services.yaml +++ b/homeassistant/components/select/services.yaml @@ -27,7 +27,10 @@ select_option: required: true example: '"Item A"' selector: - text: + state: + hide_states: + - unavailable + - unknown select_previous: target: