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

Remove redundant label for MQTT CA verification
pull/86515/head
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
1 changed files with 3 additions and 4 deletions

View File

@ -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(