mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Add missing context in homewizard assistant error (#85397)
This commit is contained in:
parent
6ce88cd5af
commit
c4c64a8bed
@ -160,6 +160,11 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
||||
return self.async_show_form(
|
||||
step_id="discovery_confirm",
|
||||
errors={"base": ex.error_code},
|
||||
description_placeholders={
|
||||
CONF_PRODUCT_TYPE: cast(str, self.config[CONF_PRODUCT_TYPE]),
|
||||
CONF_SERIAL: cast(str, self.config[CONF_SERIAL]),
|
||||
CONF_IP_ADDRESS: cast(str, self.config[CONF_IP_ADDRESS]),
|
||||
},
|
||||
)
|
||||
|
||||
return self.async_create_entry(
|
||||
|
Loading…
x
Reference in New Issue
Block a user