Use common strings for Onvif config flow (#41170)
* Use common strings for Onvif config flow * Fix tests * Update homeassistant/components/onvif/strings.json Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
c7027e2828
commit
dde465da48
3 changed files with 4 additions and 4 deletions
|
@ -262,7 +262,7 @@ class OnvifFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
return self.async_abort(reason="onvif_error")
|
||||
|
||||
except Fault:
|
||||
errors["base"] = "connection_failed"
|
||||
errors["base"] = "cannot_connect"
|
||||
|
||||
return self.async_show_form(step_id="auth", errors=errors)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue