From 42ca46d7b21b2012be3ebb5dcd6ae0341ccbcfb5 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Tue, 24 Jan 2023 09:38:00 +0100 Subject: [PATCH] Remove redundant label for MQTT CA verification selector (#86236) Remove redundant label for MQTT CA verification --- homeassistant/components/mqtt/config_flow.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/mqtt/config_flow.py b/homeassistant/components/mqtt/config_flow.py index 1af68cd5bac..403f489f9d9 100644 --- a/homeassistant/components/mqtt/config_flow.py +++ b/homeassistant/components/mqtt/config_flow.py @@ -36,7 +36,6 @@ from homeassistant.helpers.selector import ( NumberSelector, NumberSelectorConfig, NumberSelectorMode, - SelectOptionDict, SelectSelector, SelectSelectorConfig, SelectSelectorMode, @@ -132,9 +131,9 @@ WS_HEADERS_SELECTOR = TextSelector( TextSelectorConfig(type=TextSelectorType.TEXT, multiline=True) ) CA_VERIFICATION_MODES = [ - SelectOptionDict(value="off", label="Off"), - SelectOptionDict(value="auto", label="Auto"), - SelectOptionDict(value="custom", label="Custom"), + "off", + "auto", + "custom", ] BROKER_VERIFICATION_SELECTOR = SelectSelector( SelectSelectorConfig(