Skip to content

Commit

Permalink
make password optional to fix home-assistant#35904
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterjm committed May 23, 2020
1 parent c9f26dd commit 7f8af48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion homeassistant/components/onvif/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ async def async_step_auth(self, user_input=None):
return self.async_show_form(
step_id="auth",
data_schema=vol.Schema(
{vol.Required(CONF_USERNAME): str, vol.Required(CONF_PASSWORD): str}
{
vol.Required(CONF_USERNAME): str,
vol.Optional(CONF_PASSWORD, default=""): str,
}
),
)

Expand Down

0 comments on commit 7f8af48

Please sign in to comment.