Pattern fix for Proxmox config flow (#161946)

This commit is contained in:
Erwin Douna
2026-01-31 11:41:41 +01:00
committed by GitHub
parent aabf52d3cf
commit 26ee25d7bb

View File

@@ -123,8 +123,7 @@ class ProxmoxveConfigFlow(ConfigFlow, domain=DOMAIN):
errors["base"] = "ssl_error"
except ProxmoxNoNodesFound:
errors["base"] = "no_nodes_found"
if not errors:
else:
return self.async_create_entry(
title=user_input[CONF_HOST],
data={**user_input, CONF_NODES: proxmox_nodes},