Remove redundant label for MQTT CA verification selector (#86236)

Remove redundant label for MQTT CA verification
This commit is contained in:
Jan Bouwhuis 2023-01-24 09:38:00 +01:00 committed by GitHub
parent 3f4c8a28ec
commit 42ca46d7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,6 @@ from homeassistant.helpers.selector import (
NumberSelector, NumberSelector,
NumberSelectorConfig, NumberSelectorConfig,
NumberSelectorMode, NumberSelectorMode,
SelectOptionDict,
SelectSelector, SelectSelector,
SelectSelectorConfig, SelectSelectorConfig,
SelectSelectorMode, SelectSelectorMode,
@ -132,9 +131,9 @@ WS_HEADERS_SELECTOR = TextSelector(
TextSelectorConfig(type=TextSelectorType.TEXT, multiline=True) TextSelectorConfig(type=TextSelectorType.TEXT, multiline=True)
) )
CA_VERIFICATION_MODES = [ CA_VERIFICATION_MODES = [
SelectOptionDict(value="off", label="Off"), "off",
SelectOptionDict(value="auto", label="Auto"), "auto",
SelectOptionDict(value="custom", label="Custom"), "custom",
] ]
BROKER_VERIFICATION_SELECTOR = SelectSelector( BROKER_VERIFICATION_SELECTOR = SelectSelector(
SelectSelectorConfig( SelectSelectorConfig(