Skip to content

Commit 810672e

Browse files
jbouwhCopilot
andauthored
Improve scope discovery abbreviation checking for MQTT config options (home-assistant#168302)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent afe3280 commit 810672e

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

tests/components/mqtt/test_discovery.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2434,10 +2434,22 @@ async def test_discovery_expansion_without_encoding_and_value_template_2(
24342434
"CONF_TEMP_STEP",
24352435
# Removed
24362436
"CONF_WHITE_VALUE",
2437+
# Config entry only settings
2438+
"CONF_BROKER",
2439+
"CONF_BIRTH_MESSAGE",
2440+
"CONF_DISCOVERY_PREFIX",
2441+
"CONF_KEEPALIVE",
2442+
"CONF_TRANSPORT",
2443+
"CONF_WS_PATH",
2444+
"CONF_WS_HEADERS",
2445+
"CONF_WILL_MESSAGE",
2446+
"CONF_CERTIFICATE",
2447+
"CONF_CLIENT_KEY",
2448+
"CONF_CLIENT_CERT",
2449+
"CONF_TLS_INSECURE",
24372450
]
24382451

24392452
EXCLUDED_MODULES = {
2440-
"const.py",
24412453
"config.py",
24422454
"config_flow.py",
24432455
"device_trigger.py",

0 commit comments

Comments
 (0)