From 909d91ada523455df68dce58cdcf69ef81fbebd9 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..1c4d7c1a06d 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: + exclude_states: + - unavailable + - unknown select_previous: target: diff --git a/homeassistant/components/select/services.yaml b/homeassistant/components/select/services.yaml index dc6d4c6815a..054dcea4ff8 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: + exclude_states: + - unavailable + - unknown select_previous: target: