From 081792b37e4f8aa1970f9cb6523bf937fb2be272 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Thu, 17 Jul 2025 18:34:15 +0200 Subject: [PATCH] Use state selector for climate set hvac mode service --- homeassistant/components/climate/services.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/homeassistant/components/climate/services.yaml b/homeassistant/components/climate/services.yaml index fb5ba4f1796..8ef1b984ff9 100644 --- a/homeassistant/components/climate/services.yaml +++ b/homeassistant/components/climate/services.yaml @@ -100,16 +100,10 @@ set_hvac_mode: fields: hvac_mode: selector: - select: - options: - - "off" - - "auto" - - "cool" - - "dry" - - "fan_only" - - "heat_cool" - - "heat" - translation_key: hvac_mode + state: + hide_states: + - unavailable + - unknown set_swing_mode: target: entity: