mirror of
https://github.com/home-assistant/core.git
synced 2026-02-03 22:05:35 +01:00
Pattern fix for Proxmox config flow (#161946)
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user