Skip to content

Commit

Permalink
add unknown error when entity is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
pree committed Mar 13, 2021
1 parent f5163fe commit bbaaf86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions homeassistant/components/nuki/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ async def async_step_reauth_confirm(self, user_input=None):
self.hass.config_entries.async_update_entry(existing_entry, data=conf)
await self.hass.config_entries.async_reload(existing_entry.entry_id)
return self.async_abort(reason="reauth_successful")
else:
errors["base"] = "unknown"

return self.async_show_form(
step_id="reauth_confirm", data_schema=REAUTH_SCHEMA, errors=errors
Expand Down

0 comments on commit bbaaf86

Please sign in to comment.